All Apps and Add-ons

Using Diff for packages or other lists

claidheamh
Engager

We're trying to use the diff command in the UNIX app to monitor changes to a system's installed packages. I need help creating a query / report that would run daily to monitor changes on different systems' package lists.

ftk
Motivator

You could create a simple shell script that runs rpm -qa or dpkg --get-selections or any other preferred way of listing installed packages, and set the script up as a scripted input. Then you can run the | diff command on the data that is indexed to see changes.

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