Alerting

How to exclude specific user and tag from an alert?

tstewartpf
New Member

I've created a GuarDuty finding alert in splunk but I want to exclude any findings from the alert that have specific Value or "tags" associated with regular maintenance scanning. Example would be when I look at the finding from an alert under Event actions I see detail.resource.instanceDetails.tags{}.value and there are some specific values that i have tagged that finding and I would love those not to be reported in the Alert I created.

Tags (2)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi tstewartpf,
could you share your search?
the way to proceed is to modify your search with the tags and users to exclude.
Bye.
Giuseppe

View solution in original post

0 Karma

woodcock
Esteemed Legend

See here if using Enterprise Security (there is a feature for that):
https://docs.splunk.com/Documentation/Splunk/latest/Alert/ThrottleAlerts

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi tstewartpf,
could you share your search?
the way to proceed is to modify your search with the tags and users to exclude.
Bye.
Giuseppe

0 Karma

tstewartpf
New Member

This is my search:

sourcetype="aws:cloudwatch:guardduty" host=serverless

It reports back any GuardDuty activity which is fantastic, but now I want to limit a few activities it reports on... such as activities from known user or known monitoring systems.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi tstewartpf,
At first, insert always in your searches the index so your search is faster!
Then try something like this:

index=my_index sourcetype="aws:cloudwatch:guardduty" host=serverless NOT (user=user1 OR user=user2)
| ...

Bye.
Giuseppe

0 Karma

tstewartpf
New Member

I forgot to mention if the alert is from a specific user or account I would want to exclude as well.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...