Getting Data In

Can i control the data inputs on universal fowarder with out restrating it ??

rakesh_498115
Motivator

Hi

i have a Universal Fowarder with the following monitor stanza's in it.

[monitor:///project/logs1/]
blacklist = .(gz)$
whitelist = perflog.txt$
followTail = 0
recursive = false
sourcetype = perflogs
index = projectlogs

[monitor:///project/logs2/]
blacklist = .(gz)$
whitelist = perflog.txt$
followTail = 0
recursive = false
sourcetype = perflogs
index = projectlogs

for these two monitoring stanza's . can i able to control the data inputs monitoring with out restarting the UF. i.e property disabled=true/false can i set to these stanza's with out actually restarting them everytime changing in props.conf ?? or can i control this enabling or disabling from other search head ??

Is this possibile??

Tags (2)
0 Karma

yannK
Splunk Employee
Splunk Employee

You can use the CLI command line to edit the config without restarting to apply.\

./splunk disable monitor "/project/logs1/"

0 Karma

_d_
Splunk Employee
Splunk Employee

You can POST a reload on the respective REST endpoint on the Universal Forwarder. For example:

https://my-universal-forwarder:8089/services/data/inputs/monitor/_reload

0 Karma

rakesh_498115
Motivator

Thanks .. can i give it for a particular montior stanza ??

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...