<?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 calculate the number of times the same event has occured in an index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-number-of-times-the-same-event-has-occured/m-p/616542#M214282</link>
    <description>&lt;P&gt;You are right..Another query I have is..&lt;BR /&gt;&lt;BR /&gt;Calculating the size of an index and triggering the alert.&amp;nbsp;If an alert triggered for one index then it should not trigger the same alert&amp;nbsp; for next&amp;nbsp; 2hour . But it should trigger alert for other indexes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2022 15:11:38 GMT</pubDate>
    <dc:creator>MG</dc:creator>
    <dc:date>2022-10-10T15:11:38Z</dc:date>
    <item>
      <title>How to calculate the number of times the same event has occured in an index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-number-of-times-the-same-event-has-occured/m-p/616533#M214279</link>
      <description>&lt;P&gt;How to calculate the number of times the same event has occured in an index&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 14:09:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-number-of-times-the-same-event-has-occured/m-p/616533#M214279</guid>
      <dc:creator>MG</dc:creator>
      <dc:date>2022-10-10T14:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the number of times the same event has occured in an index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-number-of-times-the-same-event-has-occured/m-p/616534#M214280</link>
      <description>&lt;P&gt;Hello MG,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;As far as I know, you will never have the exact same event inside an index since each event has been indexed at a specific time.&lt;BR /&gt;&lt;BR /&gt;You can easily count the number of "similar" event based on keys and values to compare, which can lead you to what you call "same event".&lt;BR /&gt;&lt;BR /&gt;For instance if the same user visited the same page during the last hour, we could consider that those two events are similar, and you can count those within a Splunk search over the last our, something like :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="myindex" user="user1" url="mywebsite/mypage"&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Note that this search really depend on the sourcetype of the logs you're looking for of course...&lt;BR /&gt;&lt;BR /&gt;I hope it helps!&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;GaetanVP&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 14:36:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-number-of-times-the-same-event-has-occured/m-p/616534#M214280</guid>
      <dc:creator>GaetanVP</dc:creator>
      <dc:date>2022-10-10T14:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the number of times the same event has occured in an index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-number-of-times-the-same-event-has-occured/m-p/616542#M214282</link>
      <description>&lt;P&gt;You are right..Another query I have is..&lt;BR /&gt;&lt;BR /&gt;Calculating the size of an index and triggering the alert.&amp;nbsp;If an alert triggered for one index then it should not trigger the same alert&amp;nbsp; for next&amp;nbsp; 2hour . But it should trigger alert for other indexes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2022 15:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-the-number-of-times-the-same-event-has-occured/m-p/616542#M214282</guid>
      <dc:creator>MG</dc:creator>
      <dc:date>2022-10-10T15:11:38Z</dc:date>
    </item>
  </channel>
</rss>

