Splunk 클라이언트 설치 편집하기

경고: 로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다. 로그인하거나 계정을 생성하면 편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.

편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.

최신판 당신의 편집
13번째 줄: 13번째 줄:
*내려받은 파일을 서버<ref>스플렁크 클라이언트들 중 하나</ref>에 업로드
*내려받은 파일을 서버<ref>스플렁크 클라이언트들 중 하나</ref>에 업로드
*rpm 설치
*rpm 설치
<source lang='console'>
<source lang='cli'>
[root@client01 ~]# rpm -ivh splunkforwarder-5.0.3-163460-linux-2.6-x86_64.rpm
[root@client01 ~]# rpm -ivh splunkforwarder-5.0.3-163460-linux-2.6-x86_64.rpm
warning: splunkforwarder-5.0.3-163460-linux-2.6-x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 653fb112
warning: splunkforwarder-5.0.3-163460-linux-2.6-x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 653fb112
32번째 줄: 32번째 줄:


==최초 실행==
==최초 실행==
<source lang='console'>
<source lang='cli'>
[root@client01 ~]# /opt/splunkforwarder/bin/splunk start --accept-license
[root@client01 ~]# /opt/splunkforwarder/bin/splunk start --accept-license


57번째 줄: 57번째 줄:
                                                           [  OK  ]
                                                           [  OK  ]
</source>
</source>
<source lang='console'>
<source lang='cli'>
[root@client01 ~]# netstat -anp | grep :8089
[root@client01 ~]# netstat -anp | grep :8089
tcp        0      0 0.0.0.0:8089                0.0.0.0:*                  LISTEN      1529/splunkd
tcp        0      0 0.0.0.0:8089                0.0.0.0:*                  LISTEN      1529/splunkd
</source>
</source>
<source lang='console'>
<source lang='cli'>
[root@client01 ~]# ps -ef | grep splunk | grep -v grep
[root@client01 ~]# ps -ef | grep splunk | grep -v grep
root      1529    1  0 14:44 ?        00:00:00 splunkd -p 8089 start
root      1529    1  0 14:44 ?        00:00:00 splunkd -p 8089 start
68번째 줄: 68번째 줄:


==자동 시작 설정==
==자동 시작 설정==
<source lang='console'>
<source lang='cli'>
[root@client01 ~]# /opt/splunkforwarder/bin/splunk enable boot-start
[root@client01 ~]# /opt/splunkforwarder/bin/splunk enable boot-start
Init script installed at /etc/init.d/splunk.
Init script installed at /etc/init.d/splunk.
Init script is configured to run at boot.
Init script is configured to run at boot.
</source>
</source>
<source lang='console'>
<source lang='cli'>
[root@client01 ~]# service splunk status
[root@client01 ~]# service splunk status
Splunk status:
Splunk status:
79번째 줄: 79번째 줄:
splunk helpers are running (PIDs: 2208).
splunk helpers are running (PIDs: 2208).
</source>
</source>
<source lang='console'>
<source lang='cli'>
[root@client01 ~]# chkconfig --list | grep splunk
[root@client01 ~]# chkconfig --list | grep splunk
splunk        0:off 1:off 2:on 3:on 4:on 5:on 6:off
splunk        0:off 1:off 2:on 3:on 4:on 5:on 6:off

제타위키에서의 모든 기여는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스로 배포된다는 점을 유의해 주세요(자세한 내용에 대해서는 제타위키:저작권 문서를 읽어주세요). 만약 여기에 동의하지 않는다면 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다. 저작권이 있는 내용을 허가 없이 저장하지 마세요!

취소 편집 도움말 (새 창에서 열림)