Getting Data In

Time format in email alert

AllenZhang
Explorer

Search AAA||rename _time as UpTime |fieldformat UpTime=strftime(UpTime, "%D %H:%M:%S") |Table UpTime Info

It works well in browser. like:

10/23/15 08:06:49 Info1
10/23/15 10:02:20 Info2

However, when I set it as a scheduled alert, in the email I received,

1445602009 Info1
1445608940 Info2

How to fix this?

Thanks
Allen

0 Karma

woodcock
Esteemed Legend

First, open a support ticket for this because it is surely a bug. Second, switch fieldformat to eval and see if that works around it.

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 ...