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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

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