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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...