Hey all, Brand new to Signoz/OTEL, and I feel lik...
# support
m
Hey all, Brand new to Signoz/OTEL, and I feel like I'm missing something very simple. I have a Linux VM added to Signoz Cloud, and it's showing up in the Infra Monitoring section as expected along with the Metrics. I then added a filelog receiver, and configured it to read some log files on the server, which appear in the Logs section as expected. However, I expected to see the logs also appear in the Logs tab on the host in the Infra Monitoring section, but they don't seem to be linking. I haven't been able to find anything in the docs for either Signoz or OTEL on which attribute/config/envvar needed to connect these. Hoping it's something really easy that I'm just glossing over
Ah! Figured it out, if anyone else has this issue the solution looks like it is to add a resource attribute in the config.yaml file with a key of *host.na*me.
At last it got things moving, but now I'm getting repeated log entries appearing in the Log section of the Infra Monitoring for the host though. Each line in the log file is being repeated like 25 times
s
it is to add a resource attribute in the config.yaml file with a key of *host.na*me
Best solution would be to add a resource detection processor to your logs pipeline https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/resourcedetectionprocessor/README.md
At last it got things moving, but now I'm getting repeated log entries appearing in the Log section of the Infra Monitoring for the host though. Each line in the log file is being repeated like 25 times
How many times do you expect. Did the original logs have any repitition?
m
So for the exact same entries from the same log file, there is no repetition at all in the Logs section. The repetition only appears in the Logs tab under a host panel in the new Infra Monitoring section. Every line in the log files are appearing 39 times in this section. Here's two screenshots comparing the two sections:
Just for fun I picked a different log entry from this morning from a real log not my test file. Same host/collector/etc. No changes whatsoever. It's the exact same results. 39 repetitions in the Host Infra Logs section. Only a single entry in the Logs section.
s
That seems like a bug. Let us check.