Hello All,
In my organization, we use Grafana Alloy, and Otel-contrib as agents and collectors. I want to forward syslogs to SigNoz, which is running as self-hosted for a POC. In this scenario, should I send the data to ports 4317 & 4318 ("SigNoz OTEL Collector") or directly to port 9000? Thanks in advanced.
s
Srikanth Chekuri
07/05/2024, 7:19 AM
You should use 4317 if you want to forward them agent otherwise the syslog port
a
Amila Kashyapa
07/05/2024, 8:31 AM
Thank you @Srikanth Chekuri in that case I should configure syslog receiver in signoz host otel collector something like this right ? EX : port 54526
receivers:
syslog:
tcp:
listen_address: "127.0.0.1:54526"
protocol: rfc3164
location: UTC
operators:
- type: move
from: attributes.message
to: body
processors:
resourcedetection:
detectors: [env, system] # include ec2 for AWS, gcp for GCP and azure for Azure.
timeout: 2s
exporters:
clickhouselogsexporter/syslog:
dsn: tcp://clickhouse:9000/signoz_logs
timeout: 10s
sending_queue:
queue_size: 150
retry_on_failure:
enabled: true
initial_interval: 5s
max_interval: 30s
max_elapsed_time: 300s
service:
pipelines:
logs:
receivers: [syslog, otlp, tcplog/docker]
processors: [batch, resourcedetection]
exporters: [clickhouselogsexporter, clickhouselogsexporter/syslog]
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.