Questions tagged [fluent-plugin-grafana-loki]

5 questions
2
votes
0 answers

How to change string to int in logql grafana

|label_format num={{102}} |label_format num2 = {{90}} | label_format ans= {{if gt .num .num2 }}good {{else}} bad {{end}} | line_format {{.ans}} I have created two labels and assigned values to them.When I perform the gt operation the output shows…
niv
  • 21
  • 1
1
vote
0 answers

Fluentd Not able to scrape high volume logs

I am trying to Use fluentd to push logs to loki using fluentd-loki plugin. I am not able to make fluentd ingest logs in realtime if the logs exceed 24000 lines/sec. I need help in configuration of fluentd to make it scrape logs fastly and in…
0
votes
0 answers

loki Grafana - promtail install error - page not founded

Hi everyone! I'm trying to install loki grafana, but get the next error: Page http://localhost:3100/metrics is work. Page http://localhost:3100/loki/api/v1/push is not work (page not founded) promtail-config: \`server: http_listen_port:…
0
votes
1 answer

How to use binary operators in LOKI ? Grafana

I'm creating a panel to show the error count in logs for canary instances. First, I need to find whether the instance is canary or not. So, if the instance is canary then I have to show the error log count for that instance. To filter the canary…
0
votes
1 answer

Configure grafana-loki output plugin

i'm trying to use the grafana-loki output plugin in fluent-bit but it seems impossible to configure with tls. i had a working configuration running with the loki plugin like this : [OUTPUT] Name loki Match * Host my-collector-url-for-loki Port…
hashguard
  • 403
  • 4
  • 22