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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...