Getting Data In

What actually happens when someone presses the "Disable" button on the page of a modular input?

akorzun
Explorer

Hello,

I am writing a modular input in Java. What actually happens when someone presses the "Disable" button on the page of a modular input? Does Splunk just kill Java process? If it doesn't then how can I catch the close signal in Java? I want to write the graceful shutdown.

Thanks.

Tags (1)
0 Karma

rsennett_splunk
Splunk Employee
Splunk Employee

When someone fills in the bits for your modular input, it creates an entry in inputs.conf. Disable is to disable that stanza in inputs.conf
So, it doesn't interrupt the current "grab" it will just not get data on the next interval and beyond...

With Splunk... the answer is always "YES!". It just might require more regex than you're prepared for!
0 Karma

akorzun
Explorer

Thank you for the answer. I have one more question. What happens with an active modular input when Splunk is stopped?

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...