<?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: Using search result(s) in a second, separate search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351307#M103989</link>
    <description>&lt;P&gt;Hi anjambha,&lt;/P&gt;

&lt;P&gt;In your second suggestion, how would we populate the drop downs with the results from the "AD_User_Search"? &lt;/P&gt;

&lt;P&gt;An example search string for the "AD_User_Search" would be &lt;EM&gt;index=active_directory username=XXX | table username user_id email_address&lt;/EM&gt; &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:28:38 GMT</pubDate>
    <dc:creator>MikeElliott</dc:creator>
    <dc:date>2020-09-29T18:28:38Z</dc:date>
    <item>
      <title>Using search result(s) in a second, separate search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351304#M103986</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am looking to create a dashboard to support ongoing investigations.  This dashboard will have many panels for logs such as windows event logs, web proxy logs, email gateway logs, endpoint protection logs, etc.&lt;/P&gt;

&lt;P&gt;As per the below image, I would like to run an "AD_User_Search" which will return field values for "User_ID" and "Email_Address".&lt;/P&gt;

&lt;P&gt;I would like the "WinEventLog_Search" and the "WebProxy_Search" to read the "User_ID" value returned from the "AD_User_Search" and then return relevant data from the windows event logs/web proxy logs.  Likewise, the "EmailTraffic_Search" to read the "Email_Address" value returned from the "AD_User_Search" and return relevant data from the email gateway logs.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/229700-basic-dashboard-concept.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Can anyone advise the best way to go about this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351304#M103986</guid>
      <dc:creator>MikeElliott</dc:creator>
      <dc:date>2020-09-29T18:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using search result(s) in a second, separate search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351305#M103987</link>
      <description>&lt;P&gt;Hi MikeElliott,&lt;/P&gt;

&lt;P&gt;You can depend other three panels of dashboard on the "AD_User_Search" panel.&lt;/P&gt;

&lt;P&gt;Or&lt;/P&gt;

&lt;P&gt;Create drop-down of user_id and email_address from "AD_User_Search".&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:28:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351305#M103987</guid>
      <dc:creator>anjambha</dc:creator>
      <dc:date>2020-09-29T18:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using search result(s) in a second, separate search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351306#M103988</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;There are several options here :&lt;/P&gt;

&lt;P&gt;1)Use token drilldowns. Now your main panel is AD_user_search, that is perhaps just a list of user,email addr,user id. You can add some other stuff to the panel if some other 1-1 user information is present.&lt;BR /&gt;
2) I would implement a row drill down to 3 other panels event log search, proxy search and email traffic search. I would pass a token value (on row selection) on these 3 child panels which will be populated by clicking on one row of the main 'ad_user_searc'h panel to fetch the user id (for log search, proxy search) and email addr (for  email traffic search) respectively.&lt;BR /&gt;
3) Default value set to ALL for all 3 child panels. &lt;BR /&gt;
4) token drill down behavior - as soon as a row in the main panel is clicked, the values for user id and email addr is passed to the 3 child panels which will then show the requisite data on the same. The main thing is to pass the selected row token values to the respective panels. &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/Viz/DrilldownIntro" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/Viz/DrilldownIntro&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:25:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351306#M103988</guid>
      <dc:creator>Sukisen1981</dc:creator>
      <dc:date>2020-09-29T18:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using search result(s) in a second, separate search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351307#M103989</link>
      <description>&lt;P&gt;Hi anjambha,&lt;/P&gt;

&lt;P&gt;In your second suggestion, how would we populate the drop downs with the results from the "AD_User_Search"? &lt;/P&gt;

&lt;P&gt;An example search string for the "AD_User_Search" would be &lt;EM&gt;index=active_directory username=XXX | table username user_id email_address&lt;/EM&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:28:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351307#M103989</guid>
      <dc:creator>MikeElliott</dc:creator>
      <dc:date>2020-09-29T18:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using search result(s) in a second, separate search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351308#M103990</link>
      <description>&lt;P&gt;So, in this case for proper output you can create three drop-down input .. &lt;BR /&gt;
1)index=active_directory | dedup username | table username&lt;BR /&gt;
2) index=active_directory username=$username$ | table user_id&lt;BR /&gt;
3)index=active_directory |username=$username$ | table email_address&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:28:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Using-search-result-s-in-a-second-separate-search/m-p/351308#M103990</guid>
      <dc:creator>anjambha</dc:creator>
      <dc:date>2020-09-29T18:28:44Z</dc:date>
    </item>
  </channel>
</rss>

