Splunk Search

How to spot any changes to the value of a field

ByteKnight101
New Member

Hello,

I have an index where data is ingested once a week. Objective of ingesting this data is to identify if there is any change to a field value from last week to current. I need help writing a SPL that can help me detect the change if there is one.

For more context here's an example, The relevant fields are:

Role

Entitlement

 

I need to find out if there has been any change to the entitlements to that role between data ingested on this Saturday and the past. Any help would be appreciated.

Thanks

 

 

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Depending on your data (which it would have been useful for you to share), you might be able to count the occurrences of each entitlement for each role for last Saturday and the previous Saturday, and where the count in not 2, there has been a change.

0 Karma
Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...