Splunk Search

How to Compare two fields from one search with alerting and variable?

CMEOGNAD
Engager

Hello Community,

i get all 24h a version REST call.
How to get a alert mail with the new version (like 2023-09) as text in the message body, when a new different version appears like...
Line 1: 2023-09
Line 2: 2023-08

index="my_index" source="/var/log/my_version"
| head 2
| spath version

CMEOGNAD_0-1692608641928.png

Regards - Markus

 



Labels (1)
0 Karma

CMEOGNAD
Engager
Looks plausible. I ll test it, and get feedback to you in a month !
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
index="my_index" source="/var/log/my_version"
| head 2
| spath version
| streamstats current=f window=2 last(version) as previous_version
| where version != previous_version
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...