Hi All,
I am using telegraf cisco.gnmi input plugin for collecting my stream data from GRPC server. And am using influxdb2 for my output plugin.
And have used one more plugin output.file for the validation. Have received data from grpc server (can able to see the data in output file).
I got the no tags found error when I trying to show the data in influxdb(web gui)
Logs:
2022-03-08T15:27:39Z D! [outputs.influxdb_v2] Wrote batch of 2 metrics in 3.090213ms
2022-03-08T15:27:39Z D! [outputs.influxdb_v2] Buffer fullness: 0 / 10000 metrics
2022-03-08T15:27:46Z D! [outputs.file] Wrote batch of 1 metrics in 125.878µs
2022-03-08T15:27:46Z D! [outputs.file] Buffer fullness: 0 / 10000 metrics
2022-03-08T15:27:46Z D! [processors.starlark] metric:Metric(“data-grpc”, tags={“host”: “hac-vm-1.”, “path”: “”, “shelf”: “demo”, “source”: “192…160.0.13”}, fields={“timer”: “DISABLE”, “clus”: “DISABLE”, “timer”: 0.0, “shelf”: “self0”, “sync-state”: “INSYNC”, “site”: 0.0, “0_extended”: “DISABLE”}, time=1646171020330000000)
2022-03-08T15:27:49Z D! [outputs.influxdb_v2] Wrote batch of 1 metrics in 3.474542ms
2022-03-08T15:36:09.569753Z debug Request {“log_id”: “0_6UWQsG000”, “service”: “http”, “method”: “POST”, “host”: “localhost:8086”, “path”: “/api/v2/write”, “query”: “bucket=grpc-test3&org=ciena-grpc”, “proto”: “HTTP/1.1”, “status_code”: 204, “response_size”: 0, “content_length”: -1, “referrer”: “”, “remote”: “[::1]:60418”, “user_agent”: “telegraf-ciena1”, “took”: “2.115ms”}
could you please help me out? could not able to understood why the content length showing -1 value