Getting Data In

Inputs.Conf - Historical Logging - Chicken and the Egg?

vragosta
Path Finder

I know that you can control the Universal Forwarder to grab historical event logs from Windows using "current_only = 1", but... how do you install the Universal Forwarder without it starting the SplunkForwarder service automatically?

In other words, you can't modify inputs.conf, before it exits, to force it to not send over historical logs, correct? Am I missing something?

Thanks!

Tags (2)
0 Karma
1 Solution

jeff
Contributor

Option 1: Install with the command line parameter STARTSPLUNK=0 to not have Splunk forwarder start automatically (with caveats- see command line installer documentation.

Option 2: Install splunk, point to a deployment server during installation. Keep all other defaults (no receiving indexer, no logs to monitor, etc). On your deployment server, create one or more apps with all of the appropriate settings for your environment... this is what we do. See deployment server documentation.

View solution in original post

0 Karma

jeff
Contributor

Option 1: Install with the command line parameter STARTSPLUNK=0 to not have Splunk forwarder start automatically (with caveats- see command line installer documentation.

Option 2: Install splunk, point to a deployment server during installation. Keep all other defaults (no receiving indexer, no logs to monitor, etc). On your deployment server, create one or more apps with all of the appropriate settings for your environment... this is what we do. See deployment server documentation.

0 Karma

vragosta
Path Finder

Thanks! CLI options work great.

0 Karma
Get Updates on the Splunk Community!

Video | Welcome Back to Smartness, Pedro

Remember Splunk Community member, Pedro Borges? If you tuned into Episode 2 of our Smartness interview series, ...

Detector Best Practices: Static Thresholds

Introduction In observability monitoring, static thresholds are used to monitor fixed, known values within ...

Expert Tips from Splunk Education, Observability in Action, Plus More New Articles on ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...