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!

Introducing the Splunk Community Dashboard Challenge!

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...