User Tools

Site Tools


data:collect:universal_forwarder_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

data:collect:universal_forwarder_install [2015/05/22 18:52]
221.148.162.17
data:collect:universal_forwarder_install [2019/02/25 14:50]
Line 1: Line 1:
-  - Download 
-    * RedHat : <​code>​ 
-wget https://​download.splunk.com/​products/​splunk/​releases/​6.2.2/​universalforwarder/​linux/​splunkforwarder-6.2.2-255606-linux-2.6-x86_64.rpm 
-</​code>​ 
-    * Debian : <​code>​ 
-wget http://​download.splunk.com/​products/​splunk/​releases/​6.2.3/​universalforwarder/​linux/​splunkforwarder-6.2.3-264376-linux-2.6-amd64.deb 
-</​code>​ 
-  - Install 
-    * RedHat : <​code>​ 
-rpm -Uvh splunkforwarder-6.2.2-255606-linux-2.6-x86_64.rpm 
-</​code>​ 
-    * Debian : <​code>​ 
-dpkg -i splunkforwarder-6.2.3-264376-linux-2.6-amd64.deb 
-</​code>​ 
-  - 자동 부트 걸기 :<​code>​ 
-/​opt/​splunkforwarder/​bin/​splunk enable boot-start 
-</​code>​ 
-  - 스플렁크에서 데이터 받기 셋팅:​(주의 경량포워더 쪽 아님)<​code>​ 
-/​opt/​splunk/​bin/​splunk enable listen 9997 
-</​code>​ 
-  - 경량포워더에서 Splunk등록:<​code>​ 
-/​opt/​splunkforwarder/​bin/​splunk add forward-server $splunk_srv:​9997 
-</​code>​ 
-  - 포워더 확인:<​code>​ 
-/​opt/​splunkforwarder/​bin/​splunk list forward-server 
-</​code>​ 
- 
-  - 경량 포워더 다시 시작:<​code>​ 
-/​opt/​splunkforwarder/​bin/​splunk restart 
-</​code>​ 
-  - 모니터 등록 : <​code>​ 
-/​opt/​splunkforwarder/​bin/​splunk add monitor /​home/​bigdata/​ -index $index_name -sourcetype %app% 
-</​code>​ 
- 
-  * 경량 포워더 설치 : http://​answers.splunk.com/​answers/​50082/​how-do-i-configure-a-splunk-forwarder-on-linux.html 
-  * 환경 변수 미리 설정하고 시작하세요. <​code>​ 
-export index_name=log_idx 
-export splunk_srv=mmy.srv 
-</​code>​ 
  
data/collect/universal_forwarder_install.txt · Last modified: 2019/02/25 14:50 (external edit)