-
Notifications
You must be signed in to change notification settings - Fork 45
Helpful Kibana Queries
Walter Moar edited this page Nov 2, 2023
·
15 revisions
Home > Developer > DevOps > Helpful Kibana Queries
The OpenShift Container Platform offers a Kibana interface for viewing the previous week of logs. Queries can be saved in Kibana so that they can be easily opened when needed.
Some helpful queries are:
kubernetes.namespace_labels.environment:prod AND kubernetes.container_name.raw:app AND message:"\"statusCode\":500"
kubernetes.namespace_labels.environment:prod AND level:/error|warn/
kubernetes.namespace_labels.environment:prod AND kubernetes.container_name.raw:app AND level:/error|warn/
kubernetes.namespace_labels.environment:prod AND kubernetes.container_name.raw:postgresql AND level:/error|warn/