Getting Data In

Disabling script entry using CLI

thkwon
Explorer

Hello

Can I disable the script input setting with CLI?

I'm waiting for your answer.script.PNG

Labels (1)
0 Karma

venkatasri
SplunkTrust
SplunkTrust

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
Get Updates on the Splunk Community!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...