Getting Data In

Universal forwarder -> Scheduled a Script Input

lpolo
Motivator

Hello,

Is it possible to scheduled a script input in a universal forwarder?

Thanks in advance.

Luciano

Tags (2)

lpolo
Motivator
0 Karma

araitz
Splunk Employee
Splunk Employee

Yes, absolutely. For example, we have many folks using our Windows and Unix apps and technical add-ons on our univeral forwarders, which are primarily scripted inputs.

araitz
Splunk Employee
Splunk Employee

Yes, the configuration is identical to the one on the indexer. The main thing is that the forwarder must be configured to send the data somewhere, as it does no indexing itself. You can download the Unix TA at http://splunk-base.splunk.com/apps/33800/splunk-for-unix-and-linux-technology-add-on and look in default/inputs.conf for an example.

0 Karma

lpolo
Motivator

Excellent.
Is it configured like in a regular indexer?
If not: Could you provide an example configuration to run a script every 4 hours?

Regards,
Lp

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...