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!

Sending Metrics to Splunk Enterprise With the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. The OpenTelemetry project is the second largest ...

What's New in Splunk Cloud Platform 9.0.2208?!

Howdy!  We are happy to share the newest updates in Splunk Cloud Platform 9.0.2208! Analysts can benefit ...

Want a chance to win $500 to the Splunk shop? Take our IT Incident Management Survey!

  Top Trends & Best Practices in Incident ManagementSplunk is partnering up with Constellation Research to ...