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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...