Getting Data In

Can you reload new inputs.conf stanzas on a UF without restarting the Daemon?

thisissplunk
Builder

I noticed you can reload the inputs stanzas on a forwarder via this API endpoint:

/services/data/inputs/monitor/_reload

However, does this actually allow you to start placing data in the monitoring directory for it to be read in, or do you still need to restart the forwarder to achieve that?

For context, one of the reasons to use the above API endpoint is to make sure splunk is aware of any new stanzas before grabbing a new list like so:

/services/configs/inputs?output_mode
0 Karma

yannK
Splunk Employee
Splunk Employee

you can reload specific stanza, like the "monitor" ones

To reload inputs from the CLI/api
splunk _internal call /data/inputs/monitor/_reload -auth admin:changeme

but not all inputs stanza have an endpoint, you may have to try.

duartet
Path Finder

That works really well, thanks!

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...