4

I have use Ops agent to send log to Cloud Logging Uploaded logs And then I used these logs to create logs-base metric with field name is jsonPayload.data Create logs-base metric After that, I review logs of that metric to make sure input data is correct Review input data But finally, the result is Cloud metric show error Only numeric data can be drawn as a line chart. I have checked at "review logs" step and make sure that input data is numeric. Can anyone help me explain that? Error

Sorry, I'm new to stackoverflow, so I can't upload image directly.

Nguyen Lam
  • 45
  • 4
  • I am also getting the same error. It is happening only for "Distribution" type Metric. "Counter" type metric is plotted without any issue. – Pallav Feb 09 '22 at 09:16
  • I get this error when I use`max` or `min` as a `Group by` function with log-based metrics. Does any understand why? – Ammar Bandukwala Dec 02 '22 at 16:16

1 Answers1

3

You can see the Metric by changing the aligner to percentile. enter image description here

Pallav
  • 332
  • 3
  • 8