This message was deleted.
# support
s
This message was deleted.
a
This is not much useful if you have continuous logs coming in. If you specify a filter with a few logs that came the last day only. Such dropdown will be useful.
Moreover, it is more useful when you want to view a custom time range
a
but what field does the filter actually apply to? Intuitively it would filter based on the timestamp.
but clearly it does not since I get logs with timestamps 3 days in the past even when I select 1 hour
a
yes..yes
a
I have a setup where I run vanilla otel-collector-contrib and export logs via OTLP to signoz
a
I didn't get you. You mean you can see logs that happened 3 days back when the selected filter is 1 hour?
a
yes
a
It's weird. Can you share the complete API request curl from the network tab?
a
sec
I pressed refresh, and now I get nothing again
a
I pressed refresh, and now I get nothing again
I think this is a bug. Can you show request payload when you see last 3 days data?
a
I will try but it's hard to reproduce
I am struggling to get my setup working. I cannot seem to get the logs delivered to signoz reliably, and I can't even debug the problem since there is nothing output to the collector logs (not a signoz problem, but still)
a
you can use logging exporter at signoz to verify logs are being received by signoz https://github.com/open-telemetry/opentelemetry-collector/tree/main/exporter/loggingexporter#note
a
tried that. I even added an operator
-type: stdout
to the
filelog
receiver, but I still get nothing. I tried this locally and it worked fine.
I am totally at my wit's end trying to get logging to work.
I know you don't have any obligation to help me, as this is not a signoz problem per se
(and even if it was)
ok, it looks like
filelog
receiver isn't seeing any logs
this was a bug in the otelcollector helm chart. I'm going to file PRs to fix that.
👍 1
for posterity, the problem was that the include patterns started with
/var/log/
when they should've been prefixed with
/hostfs/var/log
as the host file system is mounted at
/hostfs