Alerting

how can I use "@timestamp" field with an alert action token?

okug
New Member

I have "@timestamp" field in search results. I'd like to use the value in my alert message for slack.
So, I tried to use it like

$result.@timestamp$, $result.message$

But, @timestamp value won't appear in the alert message. What do I do wrong?

Thanks,
Hiroshi

0 Karma

Vijeta
Influencer

Try to rename it to eliminate the @ character before using in token. Something like rename "@timestamp" as timestamp

0 Karma
Get Updates on the Splunk Community!

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

New This Month - Observability Updates Give Extended Visibility and Improve User ...

This month is a collection of special news! From Magic Quadrant updates to AppDynamics integrations to ...

Intro to Splunk Synthetic Monitoring

In our last post, we mentioned that the 3 key pieces of observability – metrics, logs, and traces – provide ...