<?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: Splunk table: fill with previously fetched data in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-table-fill-with-previously-fetched-data/m-p/481789#M31589</link>
    <description>&lt;P&gt;Hey pshrm,&lt;/P&gt;

&lt;P&gt;If you pass the &lt;CODE&gt;sid&lt;/CODE&gt; to the new dashboard, you can use &lt;CODE&gt;loadjob&lt;/CODE&gt; command to retrieve the search results.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob"&gt;loadjob&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can access the &lt;CODE&gt;sid&lt;/CODE&gt; by setting &lt;CODE&gt;$job.sid$&lt;/CODE&gt; to a token in your initial search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;          &amp;lt;done&amp;gt;
            &amp;lt;set token="token name"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
          &amp;lt;/done&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Have a play with it and I hope it helps&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 15:44:34 GMT</pubDate>
    <dc:creator>ktugwell_splunk</dc:creator>
    <dc:date>2020-04-22T15:44:34Z</dc:date>
    <item>
      <title>Splunk table: fill with previously fetched data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-table-fill-with-previously-fetched-data/m-p/481788#M31588</link>
      <description>&lt;P&gt;I've a dashboard where one can fill the input values and hit the submit button. I execute a query and show the results in a table.&lt;BR /&gt;
if someone clicks on a row (drilldown set on row) it opens another dashboard and show the additional information for clicked row.&lt;BR /&gt;
Here in second dashboard, I had to execute the search query again (with tokens received from first dashboard).&lt;BR /&gt;
Since I have all the fields from first dashboard (some fields are hidden) and I could pass them to another dashboard via setting the tokens.&lt;BR /&gt;
Now, how can I use values of passed tokens in table of second dashboard so could avoid running the search query again.&lt;BR /&gt;
I tried to use  html table but with styling and all, i think it's an overkill for such a simple task.&lt;/P&gt;

&lt;P&gt;Any help would be appreciated. &lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 06:44:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-table-fill-with-previously-fetched-data/m-p/481788#M31588</guid>
      <dc:creator>pshrm</dc:creator>
      <dc:date>2020-04-22T06:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk table: fill with previously fetched data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-table-fill-with-previously-fetched-data/m-p/481789#M31589</link>
      <description>&lt;P&gt;Hey pshrm,&lt;/P&gt;

&lt;P&gt;If you pass the &lt;CODE&gt;sid&lt;/CODE&gt; to the new dashboard, you can use &lt;CODE&gt;loadjob&lt;/CODE&gt; command to retrieve the search results.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Loadjob"&gt;loadjob&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can access the &lt;CODE&gt;sid&lt;/CODE&gt; by setting &lt;CODE&gt;$job.sid$&lt;/CODE&gt; to a token in your initial search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;          &amp;lt;done&amp;gt;
            &amp;lt;set token="token name"&amp;gt;$job.sid$&amp;lt;/set&amp;gt;
          &amp;lt;/done&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Have a play with it and I hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 15:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Splunk-table-fill-with-previously-fetched-data/m-p/481789#M31589</guid>
      <dc:creator>ktugwell_splunk</dc:creator>
      <dc:date>2020-04-22T15:44:34Z</dc:date>
    </item>
  </channel>
</rss>

