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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...