Slackbot
03/16/2023, 8:50 AMVishal Sharma
03/16/2023, 9:42 AMnitya-signoz
03/16/2023, 9:45 AMjson_parser
can you share your config file and some sample logs which you are parsing using that config file.Pranay
Utkarsh Shendge
03/16/2023, 12:09 PMled to connect to {
"Addr": "localhost:8080/",
"ServerName": "localhost:8080/",
"Attributes": null,
"BalancerAttributes": null,
"Type": 0,
"Metadata": null
}. Err: connection error: desc = "transport: Error while dialing dial tcp: address tcp/8080/: unknown port" {"grpc_log": true}
2023-03-16T12:07:39.656Z info fileconsumer/file.go:178 Started watching file {"kind": "receiver", "name": "filelog", "pipeline": "logs", "component": "fileconsumer", "path": "/home/ubuntu/.pm2/logs/DISHA-PROD-out.log"}
Did anyone come across this before?nitya-signoz
03/16/2023, 12:18 PMUtkarsh Shendge
03/16/2023, 12:58 PMreceivers:
filelog:
include: [ /home/ubuntu/.pm2/logs/DISHA-PROD-out.log ]
start_at: beginning
processors:
batch:
send_batch_size: 10000
send_batch_max_size: 11000
timeout: 10s
exporters:
otlp/log:
endpoint: <http://localhost:8080/>
tls:
insecure: true
service:
pipelines:
logs:
receivers: [filelog]
processors: [batch]
exporters: [ otlp/log ]
Path----->/signoz/deploy/docker/clickhouse-setup.
Our log file is at this path----->/home/ubuntu/.pm2/logs/DISHA-PROD-out.log
We are using this command to mount it ----->
docker run -d --name signoz-host-otel-collector --user root -v /home/ubuntu/.pm2/logs/DISHA-PROD-out.log:/home/ubuntu/.pm2/logs/DISHA-PROD-out.log:ro -v $(pwd)/otel-collector-config.yaml:/etc/otel/config.yaml signoz/signoz-otel-collector:0.55.0-rc.3
nitya-signoz
03/16/2023, 4:10 PM