Getting Data In

Can someone delineate the advantages/disadvantages of using the universal forwarder vs. the oneshot command?

jaredlaney
Contributor

My team has been thinking about changing to the Splunk CLI oneshot command instead of the Splunk Universal Forwarder configs and traditional monitoring.

0 Karma
1 Solution

woodcock
Esteemed Legend

So you are contemplating recreating all of the functionality that a forwarder provides by coding it yourself and using the oneshot command and the method of injecting stuff into Splunk? WHY???? That is crazy! I find it difficult to imagine something that you might like to add to a forwarder that you cannot already do using Splunk's own forwarder configuration capabilities. Are you joking or am I misunderstanding you?

View solution in original post

woodcock
Esteemed Legend

So you are contemplating recreating all of the functionality that a forwarder provides by coding it yourself and using the oneshot command and the method of injecting stuff into Splunk? WHY???? That is crazy! I find it difficult to imagine something that you might like to add to a forwarder that you cannot already do using Splunk's own forwarder configuration capabilities. Are you joking or am I misunderstanding you?

jaredlaney
Contributor

What else does it provide besides buffering, failover, and a round robin load balance (not a true load balance)? That is what I'm trying to explain to them.

0 Karma

woodcock
Esteemed Legend

Let's see: SSL, multiple destinations, buffering, transforming, timezoning, debugging tools, C&C by Deployment Server, Integration into DMC...

0 Karma

jaredlaney
Contributor

Thanks for the ammunition. They relented... 🙂

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Not to mention Windows event log black/white lists, continuous file monitoring (oneshot would have to be scripted), Windows perfmon/powershell collection natively, etc etc etc.

@jaredlaney, what problem is your team seeing that caused this change of heart? I bet it can be fixed......

0 Karma

jaredlaney
Contributor

We have static log files that get created once a day and we're looking for a way to verify that the data made it to Splunk. We're thinking that we'd have to query Splunk through the Rest interface to verify that the data made it.

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Then, simply put, use the UF. Then in Splunk, write a saved scheduled report that finds that data. If count < 1, then it didn't make it. If it is count > 0, then you are good to go.

0 Karma

jaredlaney
Contributor

Our files are static and we don't do Windows but definitely true.

0 Karma

jaredlaney
Contributor

I'm not but I need reasons to convince my team otherwise.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...