<?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 search two events that occurred right before a specific event showing a certain error to analyze what happened? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-events-that-occurred-right-before-a-specific/m-p/145697#M40640</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;When I search for some events (i.e &lt;CODE&gt;index=main *password fail&lt;/CODE&gt;), I want to get the events with two lines before and after from source. In this way, it will help me to analyze why it happened. I know the way to go to &amp;gt; then Event action &amp;gt; show source option. But I want to get those details in my search result itself?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jul 2015 19:48:17 GMT</pubDate>
    <dc:creator>chris1</dc:creator>
    <dc:date>2015-07-28T19:48:17Z</dc:date>
    <item>
      <title>How to search two events that occurred right before a specific event showing a certain error to analyze what happened?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-events-that-occurred-right-before-a-specific/m-p/145697#M40640</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;When I search for some events (i.e &lt;CODE&gt;index=main *password fail&lt;/CODE&gt;), I want to get the events with two lines before and after from source. In this way, it will help me to analyze why it happened. I know the way to go to &amp;gt; then Event action &amp;gt; show source option. But I want to get those details in my search result itself?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 19:48:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-events-that-occurred-right-before-a-specific/m-p/145697#M40640</guid>
      <dc:creator>chris1</dc:creator>
      <dc:date>2015-07-28T19:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to search two events that occurred right before a specific event showing a certain error to analyze what happened?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-events-that-occurred-right-before-a-specific/m-p/145698#M40641</link>
      <description>&lt;P&gt;You can find some approaches here: &lt;A href="http://answers.splunk.com/answers/76663/splunk-equivalent-of-grep-a-and-grep-b.html"&gt;http://answers.splunk.com/answers/76663/splunk-equivalent-of-grep-a-and-grep-b.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2015 19:59:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-two-events-that-occurred-right-before-a-specific/m-p/145698#M40641</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2015-07-28T19:59:50Z</dc:date>
    </item>
  </channel>
</rss>

