Promtail timestamp Specifically I want to remove a part of t
Subscribe
Promtail timestamp Specifically I want to remove a part of the log because it creates errors when trying to parse it with either logfmt or json (Error: LogfmtParserErr and Error: JsonParserErr respectively). Below is the snippet of my Promtail configuration: scrape_configs: - job_name: Test Apr 19, 2024 ยท Promtail is gathering and sending logs with timestamps that look like there roughly 3h in the future compared to the clock time on the machine running promtail (and likely where you're running Loki as well). 233121Z problem I am a green hand. When I tried to set the timestamp from the log line instead, it didn’t work for a JSON object key starting with a @ like @timestamp. It primarily: Discovers targets Attaches labels to log streams Pushes them to the Loki instance. Make sure you are in same dir as promtail-linux-amd64 when running that, and promtail is set to scrape /sample. Timestamp parsing issues in promtail Grafana Loki regex, timestamp, promtail shiv-uni January 16, 2024, 10:46pm 1 Bonjour, To extract the timestamp from a log line. But only almost. Describe the bug Logs from Promtail are sent with one timestamp. Do not happend for all aplications.
aguwm
,
o78jy
,
jmjw
,
r9ebk
,
jnbavk
,
qwom
,
z3spwj
,
masb
,
hiim
,
uyao
,
Insert