Alerting

Splunk Enterprise Real Time

Guido2000
New Member

Hi everyone. I have the following issue using Splunk Enterprise (v. 9.2.0).

 

I developed a script to send a CSV dataset to Splunk using a data input (I know it's possible to upload CSV directly, but I have specific requirements). Then, I defined a Real-Time alert having the following settings:

Guido2000_0-1709641819324.png


That is, "trigger an alert everytime, during a minute, the provided query returns at least 1 result" (in the actual situation the threshold will be 600 and not 1, but this is a test).

 

When I enable the alert and start sending data, I see this window upadting in real time:

Guido2000_1-1709642048212.png


But no alert is triggered, why?

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @Guido2000,

at first, please, next time add also your search in text mode otherwise is more difficoult to answer you.

Anyway, let me understand: do you want to trigger an alert when yu have more than 600 results avery minute, is it true?

In these cases I prefer to have the threshold inside the search (more a greater readability):

index="fabrication-gear-index" sourcetype="Vehicle-logs" source="ud06148" CAN_ID="44c"
| timechart span=1m count 
| where count>600

then don't use the minus char (-) in the index or sourcetype name because Splunk identifies this chare as the minus, use underscore (_) and you need to use quotes.

Ciao.

Giuseppe

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...