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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...