Getting Data In

Need help configuring i/o to capture data from universal forwarders

jiaqya
Builder

looking to find a procedure or help to configure i/o so i can capture the same from universal forwarders.

currently the iostat source type is not showing any i/o for disk, but it shows only for cpu and mem.
can you guide me to set this up so i can collect disk i/o

thanks

0 Karma
1 Solution

woodcock
Esteemed Legend

Go to your DS CLI and do this:

find /opt/splunk/etc/deployment-apps -type f -name inputs.conf -exec grep -il iostat {} \;

When you find the app (it could be one of several), make sure that there is a local directory and in there an inputs.conf file (if not, create them). Then copy the stanza header from the inputs.conf in the default directory (probably [script://./bin/iostat.sh]) and add disabled = 0 on the next line. Save it and then reload the configurations on DS to let it go out.

View solution in original post

0 Karma

woodcock
Esteemed Legend

Go to your DS CLI and do this:

find /opt/splunk/etc/deployment-apps -type f -name inputs.conf -exec grep -il iostat {} \;

When you find the app (it could be one of several), make sure that there is a local directory and in there an inputs.conf file (if not, create them). Then copy the stanza header from the inputs.conf in the default directory (probably [script://./bin/iostat.sh]) and add disabled = 0 on the next line. Save it and then reload the configurations on DS to let it go out.

0 Karma

ddrillic
Ultra Champion

Maybe it's disabled, like mine ; -)

[script://./bin/iostat.sh]
interval = 60
sourcetype = iostat
source = iostat
index = os
disabled = 1
0 Karma

jiaqya
Builder

thanks that did the trick... 🙂

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...