<?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: Filtering Hosts within a Transaction in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511854#M143524</link>
    <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main &amp;lt;filtering for start and end events&amp;gt; OR &amp;lt;filtering for events within start and end events&amp;gt;  
| rex field=_raw "...&amp;lt;Rising_Node&amp;gt;..." | rex field=_raw "...&amp;lt;Falling_Node&amp;gt;..." 
| where (host=Rising_Node OR host=Falling_Node)
| transaction startswith="..." endswith="..."&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 30 Jul 2020 20:19:09 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-07-30T20:19:09Z</dc:date>
    <item>
      <title>Filtering Hosts within a Transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511807#M143507</link>
      <description>&lt;P&gt;So I have a search that is structured as follows&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main &amp;lt;filtering for start and end events&amp;gt; OR &amp;lt;filtering for events within start and end events&amp;gt;  | rex field=_raw "...&amp;lt;Rising_Node&amp;gt;..." | rex field=_raw "...&amp;lt;Falling_Node&amp;gt;..." | transaction startswith="..." endswith="..."&lt;/LI-CODE&gt;&lt;P&gt;The rex fields work, the transaction works, etc. However, In the events within the transaction, it pulls from every host that fits the filtering. Basically, I want to limit the transaction to only include the hosts that are listed in the Falling_Node and Rising_Node fields. I've tried adding "host=Falling_Node OR host=Rising_Node" in the "filtering for events within start and end events" but it either clears all events out of the transaction or does nothing.&lt;/P&gt;&lt;P&gt;Does anyone have tips?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 17:00:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511807#M143507</guid>
      <dc:creator>tbrown</dc:creator>
      <dc:date>2020-07-30T17:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Hosts within a Transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511813#M143509</link>
      <description>&lt;P&gt;You can tell the transaction command to use fields when matching up events.&amp;nbsp; Something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main &amp;lt;filtering for start and end events&amp;gt; OR &amp;lt;filtering for events within start and end events&amp;gt;  
| rex field=_raw "...&amp;lt;Rising_Node&amp;gt;..." | rex field=_raw "...&amp;lt;Falling_Node&amp;gt;..." 
| transaction Rising_Node, Falling_Node startswith="..." endswith="..."&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 30 Jul 2020 17:12:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511813#M143509</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-30T17:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Hosts within a Transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511850#M143522</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would be a good solution, however only one&amp;nbsp; event (the last event) in my transactions actually contain the fields "Rising_Node" and "Falling_Node". That means that I can't sort the transaction like you mentioned because it would never find the "startswith" event to make the transactions. Do you have any alternative solutions?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 19:56:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511850#M143522</guid>
      <dc:creator>tbrown</dc:creator>
      <dc:date>2020-07-30T19:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Hosts within a Transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511854#M143524</link>
      <description>&lt;P&gt;Perhaps this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main &amp;lt;filtering for start and end events&amp;gt; OR &amp;lt;filtering for events within start and end events&amp;gt;  
| rex field=_raw "...&amp;lt;Rising_Node&amp;gt;..." | rex field=_raw "...&amp;lt;Falling_Node&amp;gt;..." 
| where (host=Rising_Node OR host=Falling_Node)
| transaction startswith="..." endswith="..."&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 30 Jul 2020 20:19:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511854#M143524</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-07-30T20:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Hosts within a Transaction</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511863#M143530</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;Unfortunately that didn't work either and it returns no results.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 21:15:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-Hosts-within-a-Transaction/m-p/511863#M143530</guid>
      <dc:creator>tbrown</dc:creator>
      <dc:date>2020-07-30T21:15:07Z</dc:date>
    </item>
  </channel>
</rss>

