Open RushikeshChanakhekar opened 1 week ago
Hi Team,
I am trying to add regex pattern to filter log and add labels by using Regex pattern in Scrape config of loki and promtail config as mentioned below
promtail: enabled: true config: serverPort: 3101 clients:
url: http://{{ .Release.Name }}:3100/loki/api/v1/push log_level: debug snippets: scrapeConfigs: |
After deploying above configuration I am getting below error
"level=warn ts=2024-06-24T07:31:20.23667182Z caller=logging.go:123 msg="GET /ready (500) 156.257µs Response: \"Not ready: Unable to find any logs to tail. Please verify permissions, volumes, scrape_config, etc.\n\" ws: false; Accept: /; Connection: close; User-Agent: kube-probe/1.26;
However I am getting all the logs if I do not apply any regex pattern.
Questions have a better chance of being answered if you ask them on the community forums.
Hi Team,
I am trying to add regex pattern to filter log and add labels by using Regex pattern in Scrape config of loki and promtail config as mentioned below
promtail: enabled: true config: serverPort: 3101 clients:
url: http://{{ .Release.Name }}:3100/loki/api/v1/push log_level: debug snippets: scrapeConfigs: |
After deploying above configuration I am getting below error
"level=warn ts=2024-06-24T07:31:20.23667182Z caller=logging.go:123 msg="GET /ready (500) 156.257µs Response: \"Not ready: Unable to find any logs to tail. Please verify permissions, volumes, scrape_config, etc.\n\" ws: false; Accept: /; Connection: close; User-Agent: kube-probe/1.26;
However I am getting all the logs if I do not apply any regex pattern.