Alerting

Splunk add-on for Unix and Linux - package.sh

rpekas
Loves-to-Learn Lots

I'm looking for a way to compare the data from the package.sh script for multiple servers. I'm running the script every 12 hours

I'm currently doing the following but it doesn't break out the data by server

sourcetype=package host=hostname OR host=hostname earliest=-12h@d latest=now

| eval output = toString(VERSION) + " - " + toString(RELEASE)

| makemv delim=";" output

| mvexpand output

| eval Day=if(_time<relative_time(now(), "@d"),"Previous","Current")

| rename NAME as Package

| chart values(output) over Package by Day

| where Previous!=Current

Thanks

Labels (1)
0 Karma
Get Updates on the Splunk Community!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...