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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...