<?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: How to get overall stats if in a single log a particular event is missing? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299373#M90227</link>
    <description>&lt;P&gt;Is this related to the Regex IDS app?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2018 11:13:54 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2018-02-20T11:13:54Z</dc:date>
    <item>
      <title>How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299372#M90226</link>
      <description>&lt;P&gt;Hello There,&lt;/P&gt;

&lt;P&gt;I am trying to get an overall stats for all the logs with a particular sourcetype, however in some sourcetye a particular event is missing from which i am applying a filter, for an example there are 10 (2 where test from my side, 5 success and 3 fail), if i have to filter out test there is only 1 way i.e. by locator now problem is for 'failure' locator does not get fired, hence if I apply a filter to exclude test, I am not getting stats of Failure as well, can anyone please help me how can i get overall stats by only excluding test and getting insights on both Success and fail?&lt;/P&gt;

&lt;P&gt;below is the script which i am using.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=book_resptime (locator!="TST*" OR locator!="TEST*") |
| stats count(book_success) AS Book, count(eval(book_success=0)) AS BookFail by connector
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:10:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299372#M90226</guid>
      <dc:creator>Matinrokz</dc:creator>
      <dc:date>2018-02-20T11:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299373#M90227</link>
      <description>&lt;P&gt;Is this related to the Regex IDS app?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:13:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299373#M90227</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-02-20T11:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299374#M90228</link>
      <description>&lt;P&gt;can you try like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=book_resptime (locator!="TST*" OR locator!="TEST*") |fillnull locator value=0| stats count(book_success) AS Book, count(eval(book_success=0)) AS BookFail by connector
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:18:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299374#M90228</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-20T11:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299375#M90229</link>
      <description>&lt;P&gt;Hey Thanks for that, for Bookfail locator will not get fired, so it's not working.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:26:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299375#M90229</guid>
      <dc:creator>Matinrokz</dc:creator>
      <dc:date>2018-02-20T11:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299376#M90230</link>
      <description>&lt;P&gt;so by using fillnull you can fill null values...does this solves your issue?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:28:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299376#M90230</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-20T11:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299377#M90231</link>
      <description>&lt;P&gt;no, it's not working.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:30:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299377#M90231</guid>
      <dc:creator>Matinrokz</dc:creator>
      <dc:date>2018-02-20T11:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299378#M90232</link>
      <description>&lt;P&gt;Not exactly, but if regex IDS can help to get that desired answer will install that.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:44:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299378#M90232</guid>
      <dc:creator>Matinrokz</dc:creator>
      <dc:date>2018-02-20T11:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299379#M90233</link>
      <description>&lt;P&gt;if there are only 3 values then firstly you can try &lt;CODE&gt;(locator="success" OR locator="fail")&lt;/CODE&gt;&lt;BR /&gt;
then can you provide sample output of events&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:47:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299379#M90233</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-20T11:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299380#M90234</link>
      <description>&lt;P&gt;Please don't tag questions with an app if they're not related to that app.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299380#M90234</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-02-20T11:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299381#M90235</link>
      <description>&lt;P&gt;Removed the app tag&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:03:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299381#M90235</guid>
      <dc:creator>Matinrokz</dc:creator>
      <dc:date>2018-02-20T12:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get overall stats if in a single log a particular event is missing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299382#M90236</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:21:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-get-overall-stats-if-in-a-single-log-a-particular-event/m-p/299382#M90236</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2018-02-20T12:21:22Z</dc:date>
    </item>
  </channel>
</rss>

