Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only the last line is read when sending multiple lines to Grafana live channels #43765

Open
Nohac opened this issue Jan 6, 2022 · 1 comment
Labels
area/live area/streaming needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating

Comments

@Nohac
Copy link

Nohac commented Jan 6, 2022

What happened:
When sending multiple lines (delimited by \n) to Grafana live, only the last line is being parsed.

What you expected to happen:
I expect all lines to be parsed by Grafana and visible in my dashboard.

How to reproduce it (as minimally and precisely as possible):

curl -X POST https://grafana/api/live/push/service \
   -H "Authorization: Bearer token" \
   -d 'service_log,host=host-name context="service",level="info",log="line 1",timestamp="2022-01-06 16:30:13:935" 1641483013983311800
service_log,host=host-name context="service",level="info",log="line 2",timestamp="2022-01-06 16:30:13:935" 1641483013983298200
service_log,host=host-name context="service",level="info",log="line 3",timestamp="2022-01-06 16:30:13:933" 1641483013983288800
service_log,host=host-name context="service",level="info",log="line 4",timestamp="2022-01-06 16:30:13:930" 1641483013983266900
service_log,host=host-name context="service",level="info",log="line 5",timestamp="2022-01-06 16:30:13:929" 1641483013983258100'

Environment:

  • Grafana version: Grafana v8.2.2 (6232fe0)
  • Data source type & version: Grafana live
  • OS Grafana is installed on: Google cloud run / Docker
@ivanahuckova ivanahuckova added area/streaming needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating labels Jan 7, 2022
@txjmb
Copy link

txjmb commented Jan 13, 2022

Confirmed in our test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/live area/streaming needs investigation for unconfirmed bugs. use type/bug for confirmed bugs, even if they "need" more investigating
Projects
None yet
Development

No branches or pull requests

4 participants