Splunk Search

How to return "Specific text" in the subject of an alert if regex matches any field/value from the results?

Meena27
Explorer

Hi,

I am trying to work to get "Specific text" in the subject of an alert using regex if possible.

Here it goes,

There are IDS alerts from MAC machines and windows machines in our environment. I want Splunk to return the search subject with MAC if regex matches any field/value from the results.

Any suggestions?

Tags (3)
0 Karma
1 Solution

yannK
Splunk Employee
Splunk Employee

Since splunk 6.1 If you create a field with this value in your results, you can customize the alert format (and add the field with $result.fieldname$ in the email subject)
see http://docs.splunk.com/Documentation/Splunk/6.2.0/Alert/Setupalertactions

View solution in original post

yannK
Splunk Employee
Splunk Employee

Since splunk 6.1 If you create a field with this value in your results, you can customize the alert format (and add the field with $result.fieldname$ in the email subject)
see http://docs.splunk.com/Documentation/Splunk/6.2.0/Alert/Setupalertactions

Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...