Sorry, but I don't think this has anything to do with prometheus. Prometheus does not handle logs, and it certainly doesn't have the query language you've shown.
Try the grafana community <https://community.grafana.com/> discussion groups perhaps - or a forum for AWS users (if it's an issue with Cloudwatch Logs). -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/5f543c80-cbfb-4e93-95ed-d362b43dccbe%40googlegroups.com.

