Reputation: 445
While creating the user-define metric via filter the data are not polled. But filter returns the results.
Filter and metric used for creating the metric
How to create the metrics?
Upvotes: 1
Views: 47
Reputation: 6290
I don't know if it's your case here, (because we can't see the creation timestamp of your metric in the screenshot), but take in account that only new log entries received after creation of metric will populate it.
According to official doc :
The data for logs-based metrics comes from log entries received after the metrics are created. The metrics are not populated with data from log entries that are already in Logging.
Upvotes: 2