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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...