<?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 How to pivot a search off a subsearch result? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-pivot-a-search-off-a-subsearch-result/m-p/300217#M90387</link>
    <description>&lt;P&gt;Since I couldn't find this anywhere, I'm making my own question and answer, to better help the "next guy" who has this question and can't find the answer either.&lt;/P&gt;

&lt;P&gt;I wanted a simple query of an error condition in our email logs, then return the grouped log events associated with that exchange. Since email logs are line by line (multiple events) their only connection is the MID.&lt;/P&gt;

&lt;P&gt;Answer below:&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2018 16:57:10 GMT</pubDate>
    <dc:creator>Michael</dc:creator>
    <dc:date>2018-02-20T16:57:10Z</dc:date>
    <item>
      <title>How to pivot a search off a subsearch result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pivot-a-search-off-a-subsearch-result/m-p/300217#M90387</link>
      <description>&lt;P&gt;Since I couldn't find this anywhere, I'm making my own question and answer, to better help the "next guy" who has this question and can't find the answer either.&lt;/P&gt;

&lt;P&gt;I wanted a simple query of an error condition in our email logs, then return the grouped log events associated with that exchange. Since email logs are line by line (multiple events) their only connection is the MID.&lt;/P&gt;

&lt;P&gt;Answer below:&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 16:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pivot-a-search-off-a-subsearch-result/m-p/300217#M90387</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2018-02-20T16:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to pivot a search off a subsearch result?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-pivot-a-search-off-a-subsearch-result/m-p/300218#M90388</link>
      <description>&lt;P&gt;&lt;CODE&gt;index=main  [ search index=main  (host=esa1* OR host=esa2*) "possible delivery" | stats count by MID | fields + MID | format] | transaction MID&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will search for the error "possible delivery" on a line, then use the MID field to pivot from and collect all the line events from that exchange.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 17:00:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-pivot-a-search-off-a-subsearch-result/m-p/300218#M90388</guid>
      <dc:creator>Michael</dc:creator>
      <dc:date>2018-02-20T17:00:13Z</dc:date>
    </item>
  </channel>
</rss>

