You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Application 500 Errors:
kubernetes.namespace_labels.environment:prod AND kubernetes.container_name.raw:app AND message:"\"statusCode\":500"
All Problems:
kubernetes.namespace_labels.environment:prod AND level:/error|warn/
Application Problems:
kubernetes.namespace_labels.environment:prod AND kubernetes.container_name.raw:app AND level:/error|warn/
Database Problems:
kubernetes.namespace_labels.environment:prod AND kubernetes.container_name.raw:postgresql AND level:/error|warn/