Splunk Cloud Platform

Search Manual

Acrobat logo Download manual as PDF


Acrobat logo Download topic as PDF

Share jobs and export results

You can share a search job with other Splunk users, or export the event data to archive or to use with a third-party charting application.

Your Splunk administrator controls how searches are shared. See Change how a search is shared.

  • By default, sharing a search job is turned on. You can share a job with other Splunk users by sending them a link to the job.
  • If your Splunk administrator has turned off search job sharing, you can share the actual search instead.

Share a job

When you share a job, you are sharing the results of a specific run of a search.

There are several ways that you can share a specific job with other Splunk platform users. You can change the permissions for a search job to share that job with other users. You can also share a job by sending the URL for a search job to another Splunk platform user.

You can only change permissions or share a link to the current job.

Change job permissions

You can share a job by changing the permissions on that job. By default, all jobs are private and have a lifetime of 10 minutes.

  1. From the Job menu, select Edit Job Settings to display the Job Settings dialog box.
    If the Edit Job Settings option is turned off, sharing a job has been turned off by the Splunk administrator. However, you can share the search itself. See Share a search.
  2. Change Read Permissions to Everyone.
  3. Select Save
  4. The following image shows the menu selections required to change job permissions:

    This image shows the Job Settings dialog box. The Read Permissions has been changed to Everyone. The Lifetime remains unchanged. The default Lifetime is 10 minutes.

Share a link to the job

You can share a search job with other Splunk users by sending them a link to the job. This is helpful when you want another user to see the results returned by the job.

The users that you send the link to must have permissions to use the app that the job originated from.

There are two methods you can use to obtain a job link. You can use the Share icon or the Job menu.

Use the Share icon

You can share a search job by using the Share icon:

  1. Select the Share icon, which is one of the search action icons.

  2. This image shows the Share icon, which is a curved arrow pointing to the right. The Share icon is near the Time Range Picker under the Search bar. It is one of the set of icons that starts with Jobs and ends with Search Mode.
    When you share a search job, the job lifetime and permissions are automatically extended. The job lifetime is extended to 7 days and that the read permissions is changed to Everyone. There is a link to manage the job in the Job Settings window. There is also a button to copy the link to the search job.

  3. Select Copy job link to copy the URL.
  4. Send the link to the users that you want to share the job results with.

Use the Job menu

You can share a search job by using the Job menu:

  1. Select Edit Job Settings to display the Job Settings dialog box.
    If the Edit Job Settings option is turned off, sharing a job has been turned off by the Splunk administrator. However, you can share the search itself. See Share a search.
  2. Change Read Permissions to Everyone. If the permissions for a job are set to Private, other users cannot access the job with the link.
  3. Change Lifetime to 7 days.
  4. Select Copy job link to copy the URL.
  5. This image shows the Job Settings dialog box. Read Permissions is set to Everyone. Lifetime is set to 7 days. There is a button you can select to copy the URL to the search job.

  6. Send the link to the users that you want to share the job results with.

Share a search

Your Splunk administrator controls how searches are shared. If your Splunk administrator has turned off search job sharing, you can share the actual search instead.

The link you share copies the search into the Search bar in the Search app. If the user that you share the link with has the proper permissions, such as access to the index and source and the role they are assigned, they can run the search personally.

  1. Select the Share icon, which is one of the search action icons.

  2. This image shows the Share icon, which is a curved arrow pointing to the right. The Share icon is near the Time Range Picker under the Search bar. It is one of the set of icons that starts with Jobs and ends with Search Mode.

  3. In the Share Job dialog box, select Copy search query link to copy the URL.
  4. Send the link to the users that you want to share the search with.

Export job results to a file

You can export your job results in a variety of formats such as CSV, JSON, PDF, Raw Events, and XML. You can then archive the file, or use the file with a third-party charting application. The format options depend on the type of job artifact that you are working with.

  • If the search generates calculated data that appears on the Statistics tab, you cannot export using the Raw Events format.
  • If the search is a saved search, such as a report, you can export using the PDF format.

The export file is saved in the default download directory for your browser or operating system.

There are several methods that you can use to export search results. A few of these methods include Splunk Web, CLI, SDKs, and REST. Some of the methods are optimized for speed, while others are good for extremely large event sets.

For a complete list of the export methods and links to the specific steps, see Export search results.

Change how a search is shared

By default, a user can share a search job with other users. However, a Splunk administrator can turn off job sharing, which turns on the ability to share the actual search itself.

Splunk Cloud Platform
To change the setting for job sharing, request help from Splunk Support. If you have a support contract, file a new case using the Splunk Support Portal at Support and Services. Otherwise, contact Splunk Customer Support.
Splunk Enterprise
Prerequisites
  • Have the permissions to change the default job sharing setting. Only users with file system access, such as system administrators, can change the job sharing default using configuration files.
  • Know how to edit configuration files. Review the steps in How to edit a configuration file in the Splunk Enterprise Admin Manual.
  • Decide which directory to store configuration file changes in. You can have configuration files with the same name in your default, local, and app directories. Read Where you can place (or find) your modified configuration files in the Splunk Enterprise Admin Manual.

Never change or copy the configuration files in the default directory. The files in the default directory must remain intact and in their original location. Make changes to the files in the local directory.

Steps
  1. Open or create a local web-features.conf file at $SPLUNK_HOME/etc/system/local.
  2. Under the [feature:share_job] stanza, set enable_share_job_control to false. Changing this setting to false turns off sharing a link to a search job and turns on sharing a link to the actual search itself.
  3. Restart your Splunk platform instance.
Last modified on 01 June, 2023
PREVIOUS
Extending job lifetimes
  NEXT
Manage search jobs

This documentation applies to the following versions of Splunk Cloud Platform: 9.0.2303, 9.0.2305, 9.1.2308 (latest FedRAMP release), 9.1.2312


Was this documentation topic helpful?


You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters