<?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: Search a particular source based on earlier search in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Search-a-particular-source-based-on-earlier-search/m-p/68565#M13871</link>
    <description>&lt;P&gt;yes Martin , something similar. Trying this idea out and see how it goes ..&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2013 20:46:23 GMT</pubDate>
    <dc:creator>prabhu_kar</dc:creator>
    <dc:date>2013-03-21T20:46:23Z</dc:date>
    <item>
      <title>Search a particular source based on earlier search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-a-particular-source-based-on-earlier-search/m-p/68563#M13869</link>
      <description>&lt;P&gt;Hi , &lt;/P&gt;

&lt;P&gt;I have user logs which are thousands in number per day. Iam trying to isolate users who had issues and then the issue went away. &lt;/P&gt;

&lt;P&gt;It is akin to saying If I find a Error message like "unable to connect" in that particular user's file I want to find if he also got a "Reconnected" message. If it did not reconnect I want to pull those log files out or pull the rest of the log files. Each log file  name has some pattern with which I can identify the user. Is there even a way for doing this ? &lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Prabhu &lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 19:41:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-a-particular-source-based-on-earlier-search/m-p/68563#M13869</guid>
      <dc:creator>prabhu_kar</dc:creator>
      <dc:date>2013-03-20T19:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search a particular source based on earlier search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-a-particular-source-based-on-earlier-search/m-p/68564#M13870</link>
      <description>&lt;P&gt;To rephrase, you're trying to test if a source contains "unable to connect" but not "Reconnected" afterwards? You could run something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... ("unable to connect" OR "Reconnected") | eval disconnect_time = case(match(_raw,"unable to connect"),_time) | eval reconnect_time = case(match(_raw,"Reconnected"),_time) | stats max(disconnect_time) as disconnect_time max(reconnect_time) as reconnect_time by source | where disconnect_time&amp;gt;0 AND NOT disconnect_time &amp;lt;= reconnect_time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Mar 2013 20:28:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-a-particular-source-based-on-earlier-search/m-p/68564#M13870</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-03-20T20:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Search a particular source based on earlier search</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Search-a-particular-source-based-on-earlier-search/m-p/68565#M13871</link>
      <description>&lt;P&gt;yes Martin , something similar. Trying this idea out and see how it goes ..&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2013 20:46:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Search-a-particular-source-based-on-earlier-search/m-p/68565#M13871</guid>
      <dc:creator>prabhu_kar</dc:creator>
      <dc:date>2013-03-21T20:46:23Z</dc:date>
    </item>
  </channel>
</rss>

