Splunk/Observability
Splunk Otel Collector Gateway 연동 가이드
야솔아빠
2024. 4. 28. 00:02
반응형
Collector deployment modes — Splunk Observability Cloud documentation
Was this topic useful? Was this documentation topic helpful? Please select Yes No Please specify the reason Please select The topic did not answer my question(s) I found an error I did not like the topic organization Other Enter your email address if you w
docs.splunk.com
이 문서를 참고한다.
1. Agent mode host
/etc/otel/collector/splunk-otel-collector.conf 파일에 아래 정보를 추가한다.
SPLUNK_GATEWAY_URL=gateway IP
예)
SPLUNK_CONFIG=/etc/otel/collector/agent_config.yaml
SPLUNK_ACCESS_TOKEN=xxx
SPLUNK_REALM=us1
SPLUNK_API_URL=https://api.us1.signalfx.com
SPLUNK_INGEST_URL=https://ingest.us1.signalfx.com
SPLUNK_TRACE_URL=https://ingest.us1.signalfx.com/v2/trace
SPLUNK_HEC_URL=https://ingest.us1.signalfx.com/v1/log
SPLUNK_HEC_TOKEN=xxx
SPLUNK_MEMORY_TOTAL_MIB=512
SPLUNK_BUNDLE_DIR=/usr/lib/splunk-otel-collector/agent-bundle
SPLUNK_COLLECTD_DIR=/usr/lib/splunk-otel-collector/agent-bundle/run/collectd
SPLUNK_GATEWAY_URL=172.31.28.36
2. Gate mode host
gateway 모드로 splunk-otel-collector 설치하면, 변경사항은 크게 없다.
반응형