Splunk Search

How to include only certain fields in an email sent from an alert

riotto
Path Finder

I have an alert that looks for a pattern in an event that is an xml: ie.

":2017-03-01 06:02:16,194 INFO 7010 System Error 7025 Failed Request Build null null"

I want to send the email that includes only the TransactionStatusMessageDetail field, but I get the _raw sent
(Failed Request Build) is the field
Can this be done? Splunk Enterprise version is 6.1

0 Karma
1 Solution

woodcock
Esteemed Legend

Just add | table TransactionStatusMessageDetail as the last part of your search.

View solution in original post

0 Karma

woodcock
Esteemed Legend

Just add | table TransactionStatusMessageDetail as the last part of your search.

0 Karma

riotto
Path Finder

Works like a champ!...thanks

0 Karma

woodcock
Esteemed Legend

Be sure to click Accept to close the question.

0 Karma
Get Updates on the Splunk Community!

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

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...