이 문서를 참고한다.
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 설치하면, 변경사항은 크게 없다.
Splunk Add-on for OpenTelemetry Collector (0) | 2024.05.01 |
---|---|
Private Connectivity (0) | 2024.04.13 |
AWS ECS EC2 - Otel collector 설치 (0) | 2024.04.02 |
Custom otel collector configuration in AWS ECS EC2 (1) | 2024.03.23 |
Splunk Observability APM with AWS ECS EC2 (0) | 2024.03.22 |
댓글 영역