splunk
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
splunk [2023/12/22 07:31] – [Set-Up Forwarding] baumi | splunk [2024/01/11 09:41] (current) – baumi | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Splunk | + | ====== Splunk |
- | ===== Install Indexer / Heavy Forwarder | + | ==== Install Indexer / Heavy Forwarder ==== |
< | < | ||
- | sudo useradd -m -d / | + | sudo useradd -m -d /opt/splunk -s / |
- | sudo chsh -s /bin/bash splunk && \ | + | |
sudo tar xzvf ~/ | sudo tar xzvf ~/ | ||
sudo chown -R splunk: | sudo chown -R splunk: | ||
Line 10: | Line 9: | ||
</ | </ | ||
- | ===== Configure Receiver to receive data ===== | + | ==== Configure Receiver to receive data ==== |
https:// | https:// | ||
< | < | ||
Line 19: | Line 18: | ||
</ | </ | ||
- | ===== Set-Up Forwarding | + | ==== Set-Up Forwarding ==== |
https:// | https:// | ||
< | < | ||
Line 31: | Line 30: | ||
sudo su -c "/ | sudo su -c "/ | ||
</ | </ | ||
+ | ==== Forward to more than one destinations ==== | ||
+ | / | ||
+ | <file text outputs.conf> | ||
+ | [tcpout] | ||
+ | defaultGroup = group1, | ||
+ | indexAndForward = 0 | ||
- | ===== Universal Forwarder | + | [tcpout: |
+ | disabled | ||
+ | server = receiver1: | ||
+ | |||
+ | [tcpout: | ||
+ | disabled = false | ||
+ | server = receiver2: | ||
+ | </ | ||
+ | |||
+ | ==== Universal Forwarder ==== | ||
< | < | ||
- | useradd -m -d / | + | useradd -m -d / |
- | chsh -s /bin/bash splunkfwd && \ | + | |
sudo tar xzvf ~/ | sudo tar xzvf ~/ | ||
sudo chown -R splunkfwd: | sudo chown -R splunkfwd: | ||
Line 41: | Line 54: | ||
</ | </ | ||
- | {{tag> | + | {{tag>kb linux splunk}} |
splunk.1703226718.txt.gz · Last modified: 2023/12/22 07:31 by baumi