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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...