Grafa/Loki/Promtail : syslog configuration, how I can visualize timestamp from the syslog message #2461
Labels
help wanted
We would love help on these issues. Please come help us!
keepalive
An issue or PR that will be kept alive and never marked as stale.
Describe the bug
Hello, I use promtail to distributed syslog message to loki and visualize them by Grafana. In the syslog configuration of promtail, we can't extract timestamp of syslog message. The timestamp transmit to loki is the intern timestamp of promtail not the timestamp from the syslog message. I tried many configuration but I don't find solution.
To Reproduce
Steps to reproduce the behavior:
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
scrape_configs:
job_name: syslog
syslog:
listen_address: 0.0.0.0:1514
idle_timeout: 3600s
relabel_configs:
target_label: host
target_label: level
target_label: app_name
target_label: facility
Expected behavior
I expect that I can at least visualize the timestamp from the syslog message in Grafana and if possible remplace the timestamp used in Grafana by the timestamp from my message
Thanks for your help
The text was updated successfully, but these errors were encountered: