Search code examples
google-cloud-platformgoogle-cloud-logginggoogle-cloud-monitoring

"Only numeric data" error on logs-base metric GCP


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.


Solution

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