<?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: Subsearch display all raw data that lead up to the final result in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-display-all-raw-data-that-lead-up-to-the-final-result/m-p/64875#M16027</link>
    <description>&lt;P&gt;I think you just need to add something like this (assuming 3 the categories you list directly map to &lt;CODE&gt;sourcetype&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats list(_raw) by username,sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 03 Jun 2015 17:06:58 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-06-03T17:06:58Z</dc:date>
    <item>
      <title>Subsearch display all raw data that lead up to the final result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-display-all-raw-data-that-lead-up-to-the-final-result/m-p/64874#M16026</link>
      <description>&lt;P&gt;I am trying to find a way to have a subsearch display all the raw data that leads up to the final result. In my instance I am searching for DMCA violations and I search across our firewall for the NAT translation, then our DHCP scope for the MAC address and finally out authentication server for the username. For documentation purposes I need to have all the raw logs that lead up to the username.&lt;/P&gt;

&lt;P&gt;Below is my current subsearch:
[search sourcetype=dhcpd [search sourcetype="netscreen:firewall" ip=$SrcIP$ port=$Port$ | top limit=5 src | fields + src | rename src as search] | top limit=5 src_mac | fields + src_mac | rename src_mac as search] sourcetype="cisco_acs" | top User_Name limit="5"&lt;/P&gt;

&lt;P&gt;Ideally I would like a report that shows something like&lt;/P&gt;

&lt;P&gt;Username: xyz&lt;/P&gt;

&lt;P&gt;NAT Translation:
raw logs&lt;/P&gt;

&lt;P&gt;DHCP:
raw logs&lt;/P&gt;

&lt;P&gt;Auth:
raw logs&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2011 22:44:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Subsearch-display-all-raw-data-that-lead-up-to-the-final-result/m-p/64874#M16026</guid>
      <dc:creator>clarkjk</dc:creator>
      <dc:date>2011-03-22T22:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Subsearch display all raw data that lead up to the final result</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Subsearch-display-all-raw-data-that-lead-up-to-the-final-result/m-p/64875#M16027</link>
      <description>&lt;P&gt;I think you just need to add something like this (assuming 3 the categories you list directly map to &lt;CODE&gt;sourcetype&lt;/CODE&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | stats list(_raw) by username,sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Jun 2015 17:06:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Subsearch-display-all-raw-data-that-lead-up-to-the-final-result/m-p/64875#M16027</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-03T17:06:58Z</dc:date>
    </item>
  </channel>
</rss>

