Deployment Architecture

/opt/splunkforwarder Default?

nathanlhopkins
Path Finder

Hi, please can you advise how do I install Splunk universal forwarder manually to /opt/splunkforwarder?

It's says: /opt/splunkforwarder is default on page:
http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Deployanixdfmanually

However in the install page it says:

To install Splunk on a Linux system, expand the tarball into an appropriate directory using the tar command:
tar xvzf splunk_package_name.tgz

The default install directory is splunk in the current working directory. To install into /opt/splunk, use the following command:
tar xvzf splunk_package_name.tgz -C /opt

Please can you help / advise?

Tags (1)
0 Karma

nathanlhopkins
Path Finder

I was unaware of two different tar files - one for forwarder and one for GUI

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

If you want to manually install it to /opt/splunkforwarder, you can just do this (don't start splunk until after mv):

tar xvzf splunk_package_name.tgz -C /opt
mv /opt/splunk /opt/splunkforwarder

Ayn
Legend

No, that is an environment variable Splunk sets up itself.

0 Karma

nathanlhopkins
Path Finder

Many thanks, do I need to set the $SPLUNK_HOME in my linux profile?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...