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
Motivator

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
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.