Hi, guys! I have task to integrate signoz to our i...
# support
р
Hi, guys! I have task to integrate signoz to our infrastructure. But I am new in DevOps and will be very thankful if you take a look and help at least suggest sth🙏. We are using docker swarm and we need monitor our container logs. Question: What is the best way to get correct source name? With fluntbit/fluentD or directly with otel collector? Cause right now with otel collector it showing sth like this (screenshot below. There is no source of docker service just docker, I can't understand from which docker service it taking logs) If solution is to use regex I can't imaging how can I filter with these volumes (screen 2, there is no stack name just volume id)
a
@Prashant Shahi @nitya-signoz what would be a good way to do this?
n
So your question is basically how can we get the application names as well in the logs right? As of now you only have IDs for the containers. And you will use that to filter logs.
р
Yes, I want to see in logs their source (docker service name). Right now in source section I have only
docker
It is now useless for me
n
Got it, we found a solution for this by using https://github.com/gliderlabs/logspout . you can check out this issue https://github.com/SigNoz/signoz/issues/1597
If we directly read from storage then we don’t have any context about the application, that’s why a log router like the above is needed.
р
okok, thanks a lot. I will check now