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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...