<?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: Grab statistics for complex searches where eventtypes doesnt do the trick in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98589#M2304</link>
    <description>&lt;P&gt;Stange that this one is devoted...the search hit is an alert and differs per alert (fi external lookup for fields which are allowed, or users who are logged into a system with non allowed name etc etc...&lt;/P&gt;

&lt;P&gt;So if there is a search hit then its an alert....now i want a consolidated overview instread of a bunch of loose rangemap values. &lt;/P&gt;</description>
    <pubDate>Wed, 11 May 2011 10:56:19 GMT</pubDate>
    <dc:creator>Starlette</dc:creator>
    <dc:date>2011-05-11T10:56:19Z</dc:date>
    <item>
      <title>Grab statistics for complex searches where eventtypes doesnt do the trick</title>
      <link>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98587#M2302</link>
      <description>&lt;P&gt;Let say I have a few searches :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;alert1
search | eval etc | stats count by field1, field2, etc

alert2
search | eval etc | stats count by field1, field2, etc

alert3
search | eval etc | stats count by field1, field2, etc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now i want to make search for top alerts, though i cant make eventypes, whats the most handy way to get here ?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2011 08:03:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98587#M2302</guid>
      <dc:creator>Starlette</dc:creator>
      <dc:date>2011-05-10T08:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Grab statistics for complex searches where eventtypes doesnt do the trick</title>
      <link>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98588#M2303</link>
      <description>&lt;P&gt;What defines an alert?  What defines alert count?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2011 23:10:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98588#M2303</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-05-10T23:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Grab statistics for complex searches where eventtypes doesnt do the trick</title>
      <link>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98589#M2304</link>
      <description>&lt;P&gt;Stange that this one is devoted...the search hit is an alert and differs per alert (fi external lookup for fields which are allowed, or users who are logged into a system with non allowed name etc etc...&lt;/P&gt;

&lt;P&gt;So if there is a search hit then its an alert....now i want a consolidated overview instread of a bunch of loose rangemap values. &lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2011 10:56:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98589#M2304</guid>
      <dc:creator>Starlette</dc:creator>
      <dc:date>2011-05-11T10:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Grab statistics for complex searches where eventtypes doesnt do the trick</title>
      <link>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98590#M2305</link>
      <description>&lt;P&gt;A few approaches...&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Find out why you can't define eventttypes. Talk to your Splunk admin and have the eventttypes added for you, or ask for permissions to do it yourself.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Use 'OR' conditions in your search string, and group by some field other than &lt;CODE&gt;eventtype&lt;/CODE&gt;. &lt;CODE&gt;signature&lt;/CODE&gt; or &lt;CODE&gt;EventCode&lt;/CODE&gt; might be a good choice, depending on your alert conditions.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Run your existing searches, but don't send email alerts. Instead, enable summary indexing. Run a separate search against the summary index for alerting.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Run your existing searches, but don't send email alerts. If all you care about is the result count, you can search against &lt;CODE&gt;index=internal SavedSplunker&lt;/CODE&gt; to find the number of results that matched. Then use &lt;CODE&gt;savedsearch_name&lt;/CODE&gt; like you would &lt;CODE&gt;eventtype&lt;/CODE&gt;.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Use &lt;CODE&gt;|append&lt;/CODE&gt; to run your three searches, and create your equivlalent to the eventtype field for each alert type using &lt;CODE&gt;eval&lt;/CODE&gt;. Then pipe the whole mess into &lt;CODE&gt;top&lt;/CODE&gt; or &lt;CODE&gt;stats&lt;/CODE&gt;.&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Wed, 11 May 2011 13:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98590#M2305</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2011-05-11T13:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Grab statistics for complex searches where eventtypes doesnt do the trick</title>
      <link>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98591#M2306</link>
      <description>&lt;P&gt;Oke thanks, I am aware it isnt easy, this is just a general question, and the 3 searches are an example to decribe the functional fundamentals.&lt;BR /&gt;
Bottemline is I have seperate searches which are running in notification if there is a (siem) hit, those are combis of eval, subsearches, lookups etc. So just wondered if i can run a top just like evettypes top.&lt;BR /&gt;
On the dashboards i have per search, postprocesses, with linkswitches, intentions to drills etc etc..&lt;BR /&gt;
I will diginto this later but appreantly its more complex then i was thinking ( just though i could group "search" results and simple count them....&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2011 11:39:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Grab-statistics-for-complex-searches-where-eventtypes-doesnt-do/m-p/98591#M2306</guid>
      <dc:creator>Starlette</dc:creator>
      <dc:date>2011-05-12T11:39:27Z</dc:date>
    </item>
  </channel>
</rss>

