<?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 Re: Can I retrieve job.sid with simple xml in Splunk Ent 6.1 in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673478#M55138</link>
    <description>&lt;P&gt;**at least I believe the&amp;nbsp;&lt;SPAN&gt;&amp;lt;search&amp;gt; &amp;amp; &amp;lt;query&amp;gt; are not applicable to version 6.1!?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jan 2024 02:43:04 GMT</pubDate>
    <dc:creator>CarlAus</dc:creator>
    <dc:date>2024-01-08T02:43:04Z</dc:date>
    <item>
      <title>Can I retrieve job.sid with simple xml in Splunk Ent 6.1</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673477#M55137</link>
      <description>&lt;P&gt;We are still running Enterprise 6.1, and I am unable to locate the relevant documentation.&lt;BR /&gt;I would like to know if I can access the job.sid using simple xml, and if so what the syntax might be.&lt;/P&gt;&lt;P&gt;I gather I am restricted to the &amp;lt;searchString&amp;gt; element as &amp;lt;search&amp;gt; &amp;amp; &amp;lt;query&amp;gt; are not relevant to version 6.1,&lt;/P&gt;&lt;P&gt;Any assistance would be most appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 01:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673477#M55137</guid>
      <dc:creator>CarlAus</dc:creator>
      <dc:date>2024-01-08T01:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can I retrieve job.sid with simple xml in Splunk Ent 6.1</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673478#M55138</link>
      <description>&lt;P&gt;**at least I believe the&amp;nbsp;&lt;SPAN&gt;&amp;lt;search&amp;gt; &amp;amp; &amp;lt;query&amp;gt; are not applicable to version 6.1!?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 02:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673478#M55138</guid>
      <dc:creator>CarlAus</dc:creator>
      <dc:date>2024-01-08T02:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I retrieve job.sid with simple xml in Splunk Ent 6.1</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673480#M55139</link>
      <description>&lt;P&gt;It's been a long time, but you may find what you need in $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/schema. The directory may be different, but there should be a simplexml.xsd schema file floating around to help you find elements, attributes, etc. The dashboard code is in search_mrsparkle as something like dashboard_*.js. You may need to de-minify the source, but you can search it and related files to see which built-in tokens are available.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 03:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673480#M55139</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2024-01-08T03:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can I retrieve job.sid with simple xml in Splunk Ent 6.1</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673481#M55140</link>
      <description>&lt;P&gt;I am not sure when they came in, but looking at a Splunk 7 instance I have, there is a mix of searchString and &amp;lt;search&amp;gt;&amp;lt;query&amp;gt; in the same dashboard.&lt;/P&gt;&lt;P&gt;Can you try converting the &amp;lt;searchString&amp;gt; to search/query and then addding an event handler outside the &amp;lt;query&amp;gt;, i.e.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;search&amp;gt;
  &amp;lt;query&amp;gt;
    your_search
  &amp;lt;/query&amp;gt;
  &amp;lt;finalized&amp;gt;
    &amp;lt;set token="job_sid"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
  &amp;lt;/finalized&amp;gt;
&amp;lt;/search&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;Not sure when/if finalized was changed to &amp;lt;done&amp;gt;, but I have seen &amp;lt;preview&amp;gt; and &amp;lt;progress&amp;gt; event handlers in old dashboards along with &amp;lt;finalized&amp;gt;.&lt;/P&gt;&lt;P&gt;See if any of this works.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2024 03:13:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-I-retrieve-job-sid-with-simple-xml-in-Splunk-Ent-6-1/m-p/673481#M55140</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-01-08T03:13:51Z</dc:date>
    </item>
  </channel>
</rss>

