All Apps and Add-ons

IOSTAT.sh script modification help

molinarf
Communicator

I wanted to have additional data sent to the indexer from the UF using the Splunk Add-On for NIX. I modified the script where it runs iostat -xk on the server to get avgrq-sz, r_await and w_await metrics. In the script I added the fields I wanted with descriptive names (although maybe I shouldn't have) and hoped that it would be displayed when I run the search index=os sourcetype=isostat. I can find the fields is I run the search index=os sourcetype=isostat | fields - avgrq-sz. If I tried to run it index=os sourcetype=isostat avgrq-sz>5 (test purposes) I get no events found. Eventually I would like to set this up as an alert to possible disk degradation.

Any assistance would be greatly appreciated. Thank you!

0 Karma

to4kawa
Ultra Champion

sample logs please.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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