Splunk Search

Monitoring external config files for difference in content from its previously indexed version.

mrkumar
New Member

Hi,

I have a config file collected across a bunch of hosts. I started off with indexing the file as a single entry. I am trying to use Splunk to monitor any difference in the content of a file from its previously indexed version. Now that I have the various versions of the same file I need to use either diff or | set diff command to obtain the difference in the content of the file for each host. I am unable to include group by host in the diff or |set diff queries to obtain the difference in contents of the file per host.

Any suggestions on how to implement this search will be appreciated.

0 Karma

jbsplunk
Splunk Employee
Splunk Employee

You could try to use fschange for this function, although it is a deprecated feature, it still sits in the code and will allow you to make before and after comparisons to your files.

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...