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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...