All Apps and Add-ons

splunk for unix

bwenge
Explorer

Hi,

I have installed splunk for unix app on splunk forwarder and it is working properly and it sends data to Splunk receiver.So is it possible to enable only CPU scripts and disable other scripts using CLI.Can you also recommend me links related to that issue?

0 Karma

jbsplunk
Splunk Employee
Splunk Employee

Those are mostly scripted inputs. You could disable them in the $SPLUNK_HOME/etc/apps/unix/local by copying the inputs.conf from $SPLUNK_HOME/etc/apps/unix/default/ and then setting disabled = 1 under each of the scripted inputs that you do not want to to see.

0 Karma

jbsplunk
Splunk Employee
Splunk Employee

What frequency with which you run this script? Perhaps the CPU script simply hasn't run again?

0 Karma

bwenge
Explorer

I have put disabled=1 for all scripted inputs in the $SPLUNK_HOME/etc/apps/unix/local except for script cpu.sh where disabled=0.But when I make search in my splunk receiver, I don't see output from cpu.sh.But when I put disabled=0 for all scripted inputs ,I see all output from all scripted inputs.So why when I put disabled=0 for only cpu.sh,I don't see its output

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...