Alerting

How to define mail alert format

hjwang
Contributor

As i know, splunk use the length of fields from shortest to longest by default, how to define the order in search command rather than modifing the sendemail.py. i try field - _raw,index,source,sourcetype + interface,status, but seems not to work, and the extract fields i defined are not shown in mail-format. i use v4.1.4, thanks

0 Karma

wlkearns
New Member

http://answers.splunk.com/answers/40540/how-can-i-keep-order-of-fields-in-plain-format-of-an-alert-e...

In short, Splunk will reorder by field width on email even if you define them via 'table', or 'fields'. Refer to the above link to fix this issue.

0 Karma

linu1988
Champion

Hello,
By using the table we can set the order of the fields to display, if i got the question correctly!!

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...