Splunk Dev

Generating Reports

sbarthol
New Member

I'd like to create a splunk report that generates only when a specific word is seen in the logs file. Right now I've created the report but it comes regardless of whether the word is seen or not. If its not seen I receive a blank report. I'd like to not receive the blank report if the word is not there.

Tags (1)
0 Karma

yannK
Splunk Employee
Splunk Employee

Double check your alert trigger conditions.

in savedsearches > advance edit, look if you have the condition "always"
that may be why your alert always send an email.

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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...