<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic | rest /services/search/jobs Source? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/rest-services-search-jobs-Source/m-p/138579#M28470</link>
    <description>&lt;P&gt;Is there a way to find the source of a job that ran? For instance is it on a dashboard or is it a preconfigured report and if so show the proper names of the items (report name, dashboard panel name)? It seems there is only a title (label) when it's run on the scheduler.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/search/jobs
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Feb 2014 17:27:23 GMT</pubDate>
    <dc:creator>andrewkenth</dc:creator>
    <dc:date>2014-02-05T17:27:23Z</dc:date>
    <item>
      <title>| rest /services/search/jobs Source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/rest-services-search-jobs-Source/m-p/138579#M28470</link>
      <description>&lt;P&gt;Is there a way to find the source of a job that ran? For instance is it on a dashboard or is it a preconfigured report and if so show the proper names of the items (report name, dashboard panel name)? It seems there is only a title (label) when it's run on the scheduler.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/search/jobs
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Feb 2014 17:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/rest-services-search-jobs-Source/m-p/138579#M28470</guid>
      <dc:creator>andrewkenth</dc:creator>
      <dc:date>2014-02-05T17:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: | rest /services/search/jobs Source?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/rest-services-search-jobs-Source/m-p/138580#M28471</link>
      <description>&lt;P&gt;Try this: (just per my understanding, may need revision)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/search/jobs | eval Job_type=if(delegate="scheduler","Scheduled","Adhoc")| rex field=id "(?&amp;lt;jobId&amp;gt;[^//]*)$"| rename eai:acl.app as App | eval searchType=case(isnum(jobId),"Regular Search", LIKE(jobId,"sch%"), "Scheduled Search",1=1,"Dashboard Search") | where searchType="Scheduled Search" | eval searchType=if(mvindex(split(jobId,"_"),5)==label AND isBatchModeSearch=1,"Scheduled Report", searchType) | table Job_type, App, label , searchType , updated
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Feb 2014 20:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/rest-services-search-jobs-Source/m-p/138580#M28471</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-05T20:18:46Z</dc:date>
    </item>
  </channel>
</rss>

