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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...