Hello Team! I am trying to send application logs f...
# support
v
Hello Team! I am trying to send application logs from log file to signoz I can see docker logs but not the logs which I wanted to see from the file I am attaching the config file to the thread
otel-collector-config.yaml
docker-compose.yaml
docker-compose /Users/vishalrevadi/vishal/zelthy3_projects/Mylogs/log/server.log:/django_logs/server.log otel-collector filelog/app: include: [ /django_logs/server.log ] start_at: beginning do I need to add any other config
n
• add
filelog/app
to the receivers section in the config
v
@nitya-signoz u mean to say here the highlighted one? logs: receivers: [otlp, tcplog/docker] processors: [batch] exporters: [clickhouselogsexporter]
n
yes
v
@nitya-signoz I have added accordingly now the service is not getting started it says restarting "7858b5782ee8 gliderlabs/logspout:v3.2.14 "/bin/logspout syslo…" 2 minutes ago Restarting (1) 9 seconds ago signoz-logspout" Log for logspout service : 2024-03-13 121151 2024/03/13 064151 # logspout v3.2.14 by gliderlabs 2024-03-13 121151 2024/03/13 064151 # adapters: raw syslog tcp tls udp multiline 2024-03-13 121151 2024/03/13 064151 # options : 2024-03-13 121151 2024/03/13 064151 persist:/mnt/routes 2024-03-13 121151 2024/03/13 064151 !! lookup otel-collector on 127.0.0.1153 no such host
otel-collector-config.yaml