<?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: Alerts not triggering in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683220#M15877</link>
    <description>&lt;P&gt;Why are you resetting _time? This is masking what timestamp was used when the event was indexed.&amp;nbsp; You should also look at _indextime to see if there is any significant delay between when the event was created i.e. the time in the data, and the time it was indexed because it could be that the event was indexed in the last 5 minutes but the timestamp is prior to that so wouldn't get picked up by the search.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Apr 2024 10:24:51 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2024-04-04T10:24:51Z</dc:date>
    <item>
      <title>Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683199#M15872</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;I have some alerts that I have set up that are not triggering. They are Defender events. If I run the query in a normal search if I get the results of the alerts that I miss. However, for some reason the alerts are not triggered: neither the email is sent, nor do they appear in the Triggered alerts section.&lt;BR /&gt;This is my alert&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adrifesa95_0-1712219633217.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30225iA0FE45975D234523/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adrifesa95_0-1712219633217.png" alt="adrifesa95_0-1712219633217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and this is one of the events for which it should have triggered and has not triggered:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adrifesa95_1-1712219743615.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/30226i4386331FBE71AF89/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adrifesa95_1-1712219743615.png" alt="adrifesa95_1-1712219743615.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I also tried disabling the throttle in case there was a problem and it was leaking.&lt;/P&gt;&lt;P&gt;I also checked to see if the search had been skipped but it was not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 08:36:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683199#M15872</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-04T08:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683206#M15873</link>
      <description>&lt;P&gt;Can you share the macro expansion of the search in a code block &amp;lt;/&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 08:59:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683206#M15873</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-04T08:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683208#M15874</link>
      <description>&lt;P&gt;Yes:&lt;/P&gt;&lt;P&gt;index=conf detectionSource=MCAS NOT title IN("Potential ransomware activity*", "Multiple delete VM activities*", "Mass delete*","Data exfiltration to an app that is not sanctioned*", "Cloud Discovery anomaly detection*", "Investigation priority score increase*", "Risky hosting apps*", "DXC*") status=new NOT ((title="Impossible travel activity" AND description="*Mexico*" AND description="*United States*"))&lt;BR /&gt;| dedup incidentId&lt;BR /&gt;| rename entities{}.* AS * devices{}.* AS * evidence{}.* AS *&lt;BR /&gt;| stats values(title) as AlertName, values(deviceDnsName) as Host, values(user) as "Account", values(description) as "Description", values(fileName) as file, values(ipAddress) as "Source IP", values(category) as "Mitre" by incidentId&lt;BR /&gt;| rename incidentId AS ID_Defender&lt;BR /&gt;| tojson auto(AlertName), auto(Host), auto("Account"), auto("Description"), auto(file), auto("Source IP"), auto("Mitre") output_field=events&lt;BR /&gt;| eval events=replace(events, "\\[\"", "\""), events=replace(events, "\"\\]", "\"")&lt;BR /&gt;| rex field=events mode=sed "s/:\\[([0-9])\\]/:\\1/g"&lt;BR /&gt;| eval native_alert_id = "SPL" . strftime(now(), "%Y%m%d%H%M%S") . "" . tostring(random())&lt;BR /&gt;| tojson auto(native_alert_id) output_field=security&lt;BR /&gt;| eval security=replace(security, "\\[\"", "\""), security=replace(security, "\"\\]", "\"")&lt;BR /&gt;| rename security AS "security-alert"&lt;BR /&gt;| tojson json(security-alert), auto(events) output_field=security-alert&lt;BR /&gt;| eval _time=now()&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 09:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683208#M15874</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-04T09:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683209#M15875</link>
      <description>&lt;P&gt;Have you checked splunk internal log for ERROR ?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 09:31:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683209#M15875</guid>
      <dc:creator>saranvishva</dc:creator>
      <dc:date>2024-04-04T09:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683211#M15876</link>
      <description>&lt;P&gt;Yes, no error.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 09:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683211#M15876</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-04T09:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683220#M15877</link>
      <description>&lt;P&gt;Why are you resetting _time? This is masking what timestamp was used when the event was indexed.&amp;nbsp; You should also look at _indextime to see if there is any significant delay between when the event was created i.e. the time in the data, and the time it was indexed because it could be that the event was indexed in the last 5 minutes but the timestamp is prior to that so wouldn't get picked up by the search.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 10:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683220#M15877</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-04T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683221#M15878</link>
      <description>&lt;P&gt;where can i see the index time?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 10:26:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683221#M15878</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-04T10:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683224#M15879</link>
      <description>&lt;P&gt;It is a system field called _indextime - you could rename it without the leading _ so it becomes visible. If you want to use it, you may need to include it in the stats command since this command only keeps fields which are explicitly named.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 10:30:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683224#M15879</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-04T10:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683242#M15880</link>
      <description>&lt;P&gt;Ok, thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In one of the cases that I didn't get my alert triggered,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;TimeIndexed =&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;2024-04-04 01:01:59&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_time=04/04/2024&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;00:56:08.600&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 12:08:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683242#M15880</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-04T12:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683243#M15881</link>
      <description>&lt;P&gt;OK so the next time period after it was indexed would be&amp;nbsp;&lt;SPAN&gt;2024-04-04 01:00 to&amp;nbsp;2024-04-04 01:04:59 which doesn't include&amp;nbsp;04/04/2024&amp;nbsp;00:56:08.600 which is why your alert didn't get triggered.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 12:32:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683243#M15881</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-04T12:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683268#M15885</link>
      <description>&lt;P&gt;and what could be a solution?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 15:00:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683268#M15885</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-04T15:00:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683279#M15886</link>
      <description>&lt;P&gt;Well, it now becomes a balancing act. Your particular event to a little over 5 minutes from the _time in the event to the time it was indexed, so you could gamble and change your alert so that every 5 minutes it looks back between 10 minutes ago and 5 minutes ago. That way you will probably get all the events for that time period, but the problem here is that they will be at least 5 minutes late and upto 10 minutes late.&lt;/P&gt;&lt;P&gt;Another option is to look back 10 minutes but your run the risk of double counting your alerts i.e. an event could fall into two searches. This may not be a problem for you - that is for you to decide.&lt;/P&gt;&lt;P&gt;An enhancement to this is to write the events which you have alerted on, to a summary index and check against the summary index to see if it is a new alert. If you do that, you could even afford to look back 15 minutes since you will have a deduping method in place.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2024 15:35:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683279#M15886</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-04T15:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683565#M15893</link>
      <description>&lt;P&gt;and what can be the problem when the difference is 4-5 min between the indexing time and the _time, and the alert runs every 15 min and looks at the last 15 min.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 08:38:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683565#M15893</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-08T08:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683572#M15895</link>
      <description>&lt;P&gt;If your report runs every 15 minutes looking back 15 minutes, there will be boundary conditions where the event has a timestamp in the 15 minutes prior to the reported one, which didn't get indexed until this time period and therefore is missed&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 09:25:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683572#M15895</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-08T09:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683575#M15896</link>
      <description>&lt;P&gt;I will try to search in the last 60 min by doing a throttle of the incidentId&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 09:32:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683575#M15896</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-08T09:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683578#M15897</link>
      <description>&lt;P&gt;As I explained earlier, you don't need to just look back further and further. The "issue" is to do with indexing lag. Whenever that lag spans a report time period boundary, you have the potential for missed events. To mitigate this, you could use overlapping time periods, and use some sort of deduplication scheme, such as a summary index, if you want to avoid multiple alerts for the same event.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Apr 2024 09:40:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/683578#M15897</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-08T09:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/684337#M15909</link>
      <description>&lt;P&gt;Could you explain to me what you mean by overlapping times?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 08:46:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/684337#M15909</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-16T08:46:54Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/684339#M15910</link>
      <description>&lt;P&gt;For example, one report runs at 10 minutes past the hour, looking back 10 minutes. The next time the report runs is 15 minutes past the hour, again looking back 10 minutes. Between these two runs, there is a five minute overlap between 5 past and 10 past the hour. If you don't take account of this, you could be double counting your events.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 08:59:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/684339#M15910</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-16T08:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/684340#M15911</link>
      <description>&lt;P&gt;I am not going to experience this problem because I apply a throttle per event ID, and in some cases a dedup of the ID in the query itself, and I have set the alert to look 30 min back and run every ten but I still lose some events that do appear if I run the search.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 09:22:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/684340#M15911</guid>
      <dc:creator>adrifesa95</dc:creator>
      <dc:date>2024-04-16T09:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alerts not triggering</title>
      <link>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/684363#M15912</link>
      <description>&lt;P&gt;You are not giving much away! You will need to do some digging! Which events are not being picked up? When do they occur and when do they get indexed? How do these times relate to your alert searches? How important are these missed alerts? How much effort do you want to spend finding these events?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2024 12:56:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/Alerts-not-triggering/m-p/684363#M15912</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-04-16T12:56:30Z</dc:date>
    </item>
  </channel>
</rss>

