Getting Data In

Disabling script entry using CLI

thkwon
Loves-to-Learn

Hello

Can I disable the script input setting with CLI?

I'm waiting for your answer.script.PNG

Labels (1)
0 Karma

venkatasri
Influencer

Hi @thkwon 

Login to host where Splunk is running and navigate to in Linux - /opt/splunk/etc/apps/search/local

open the inputs.conf and find your script entry add disabled=1 and make sure the splunk is restarted to effect the change.

For example.

[script://./bin/update_projects.sh]
index = _internal
interval = 3600
sourcetype = test:srctype
disabled = 1

--------------------------

If this reply helps Appreciate your upvote/like!

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!