<?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: How to display fields that have a common value in a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207101#M60368</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/88070"&gt;@clairebesson&lt;/a&gt;,&lt;BR /&gt;
I'm a tech writer here at Splunk and I'd like to help with your question. I'm not 100% sure of the workflow you're describing here. It sounds like this to me:&lt;BR /&gt;
1)  text input for serial number captures serial_token&lt;BR /&gt;
2) serial_token is passed to a page that displays serial numbers&lt;BR /&gt;
3) user clicks on a serial number to drill down&lt;BR /&gt;
4) drilldown displays a serial number + purchase order number in a table&lt;BR /&gt;
And you'd like to add this:&lt;BR /&gt;
5) another panel shows all serial numbers connected to the purchase order from the previous step.&lt;/P&gt;

&lt;P&gt;I think what might work is to capture the purchase order in a token somewhere between step 3 and 4 here. Use that purchase order value in a search over your full data set that then generates the new (2nd)  table showing all serial numbers that match the purchase order.&lt;/P&gt;

&lt;P&gt;I would suggest taking a look at this documentation:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/Dynamicdrilldownindashboardsandforms" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/Dynamicdrilldownindashboardsandforms&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/tokens" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/tokens&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/TokenReference" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/TokenReference&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I hope this helps! Let me know either way and we can continue discussing.&lt;/P&gt;

&lt;P&gt;All the best,&lt;BR /&gt;
@frobinson_splunk&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 07:11:01 GMT</pubDate>
    <dc:creator>frobinson_splun</dc:creator>
    <dc:date>2020-09-29T07:11:01Z</dc:date>
    <item>
      <title>How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207100#M60367</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I have a file with serial numbers and purchase order numbers.&lt;BR /&gt;&lt;BR /&gt;
In a first table, I display a serial number and the corresponding purchase order. This table is the result of a drilldown. The user has clicked on a serial number on another page. The new page got the serial_token in an text input and displays the result in a table (serial number and purchase order number).&lt;/P&gt;

&lt;P&gt;On the same page, in a second table, I want to display all the serial numbers that have the same purchase order as my first table. &lt;BR /&gt;
I have no idea on how I can do the second table. Could you please help me with that?&lt;BR /&gt;
Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 15:37:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207100#M60367</guid>
      <dc:creator>clairebesson</dc:creator>
      <dc:date>2015-09-08T15:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207101#M60368</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/88070"&gt;@clairebesson&lt;/a&gt;,&lt;BR /&gt;
I'm a tech writer here at Splunk and I'd like to help with your question. I'm not 100% sure of the workflow you're describing here. It sounds like this to me:&lt;BR /&gt;
1)  text input for serial number captures serial_token&lt;BR /&gt;
2) serial_token is passed to a page that displays serial numbers&lt;BR /&gt;
3) user clicks on a serial number to drill down&lt;BR /&gt;
4) drilldown displays a serial number + purchase order number in a table&lt;BR /&gt;
And you'd like to add this:&lt;BR /&gt;
5) another panel shows all serial numbers connected to the purchase order from the previous step.&lt;/P&gt;

&lt;P&gt;I think what might work is to capture the purchase order in a token somewhere between step 3 and 4 here. Use that purchase order value in a search over your full data set that then generates the new (2nd)  table showing all serial numbers that match the purchase order.&lt;/P&gt;

&lt;P&gt;I would suggest taking a look at this documentation:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/Dynamicdrilldownindashboardsandforms" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/Dynamicdrilldownindashboardsandforms&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/tokens" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/tokens&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/TokenReference" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.5/Viz/TokenReference&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I hope this helps! Let me know either way and we can continue discussing.&lt;/P&gt;

&lt;P&gt;All the best,&lt;BR /&gt;
@frobinson_splunk&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207101#M60368</guid>
      <dc:creator>frobinson_splun</dc:creator>
      <dc:date>2020-09-29T07:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207102#M60369</link>
      <description>&lt;P&gt;Hi, thanks for your answer.&lt;BR /&gt;
1) First dashboard: &lt;BR /&gt;
 - User clicks on serial number and go to other dashboard (second dashboard)&lt;BR /&gt;
 2) Second Dashboard:&lt;BR /&gt;
 - text input captures serial_token&lt;BR /&gt;
 - Table 1: Serial Number selected and PO&lt;BR /&gt;
 - Table 2: all serial numbers connected to the purchase order&lt;BR /&gt;
 &lt;IMG src="http://imagizer.imageshack.us/a/img909/1038/ycwux0.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I created a second text input to capture po_token:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link target="Serial"&amp;gt;/app/search/serialdetails?form.serial_number_token=$click.value2$&amp;amp;amp;form.po_token=$row.po_token$  &amp;lt;/link&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But it didn't work... I don't know how to capture the PO value when I click on Serial Number...&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 18:49:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207102#M60369</guid>
      <dc:creator>clairebesson</dc:creator>
      <dc:date>2015-09-08T18:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207103#M60370</link>
      <description>&lt;P&gt;You would have to change the drilldown=cell to drilldown=row in your first table and change &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/app/search/serialdetails?form.serial_number_token=$click.value2$&amp;amp;amp;form.po_token=$row.po_token$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/app/search/serialdetails?form.serial_number_token=$row.Serial Number$&amp;amp;amp;form.po_token=$row.PO$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Sep 2015 18:53:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207103#M60370</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-08T18:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207104#M60371</link>
      <description>&lt;P&gt;Thank you very much. It works perfectly ! &lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2015 19:06:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207104#M60371</guid>
      <dc:creator>clairebesson</dc:creator>
      <dc:date>2015-09-08T19:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207105#M60372</link>
      <description>&lt;P&gt;thanks &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt; it works perfectly.&lt;BR /&gt;
If I add a third table from another source (source 2), is it possible to capture a value in this table?&lt;BR /&gt;
Here is the query for the third table :&lt;BR /&gt;
source="source2.csv" "Serial Number"=$serial_number_token$  “Location”=”*”&amp;gt;&lt;BR /&gt;
It displays a table with the location of the serial number selected. &lt;BR /&gt;
Is it possible to create another table that display all Serial Number in the same location (without click on the location value)?&lt;BR /&gt;
I tried to add $row.Location$&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:14:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207105#M60372</guid>
      <dc:creator>clairebesson</dc:creator>
      <dc:date>2020-09-29T07:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207106#M60373</link>
      <description>&lt;P&gt;Same location as currently selected serial_number (token value $serial_number_token$) OR All location and all serial number?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207106#M60373</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T07:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207107#M60374</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/15147"&gt;@somesoni2&lt;/a&gt; same location as currently selected serial_number (serial_number_token)&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:11:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207107#M60374</guid>
      <dc:creator>clairebesson</dc:creator>
      <dc:date>2020-09-29T07:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207108#M60375</link>
      <description>&lt;P&gt;@somesoni2 any idea ? &lt;BR /&gt;
I was thinking to do that in the search: "For a specific serial number, find other that have the same location as serial number selected" ... &lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 21:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207108#M60375</guid>
      <dc:creator>clairebesson</dc:creator>
      <dc:date>2015-09-11T21:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207109#M60376</link>
      <description>&lt;P&gt;You can probably use subsearch to add location filter. Something like this (the subsearch get the location of selected Serial Number and add as filter to main search)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="source2.csv"  [search source="source2.csv" source="source2.csv" "Serial Number"=$serial_number_token$ | table Location ] | table "Serial Number" Location
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 11 Sep 2015 21:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207109#M60376</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-09-11T21:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to display fields that have a common value in a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207110#M60377</link>
      <description>&lt;P&gt;thanks a lot !&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2015 13:09:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-fields-that-have-a-common-value-in-a-table/m-p/207110#M60377</guid>
      <dc:creator>clairebesson</dc:creator>
      <dc:date>2015-09-14T13:09:28Z</dc:date>
    </item>
  </channel>
</rss>

