While working I observed that Promtail not scraping single line log (log content having NO newline).
For example, a log file having only below content (a single line json with NO newline char) is “SEEKED” but data is not sent to Loki
{“executionId”:191,“nodes”:“10.0.27.15”}
But if I add a newline char at the end of this json line, data is rightfully sent to loki.
While testing I tried both JSON pipeline stage and no stage.