KQL: filter by Kubernetes fields
Filter by Kubernetes metadata fields such as pod name and namespace
kubernetes.pod.name: web-* AND kubernetes.namespace: prod
- tool
- kibana15 commands
More kibana commands
-
curl -X POST http://kibana:5601/api/saved_objects/index-pattern -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"attributes":{"title":"logs-*","timeFieldName":"@timestamp"}}'Add a new index pattern with the Kibana REST API
-
curl -X POST http://kibana:5601/api/saved_objects/_export -H 'kbn-xsrf: true' -H 'Content-Type: application/json' -d '{"type":["dashboard","visualization"],"includeReferencesDeep":true}' -o export.ndjsonExport dashboards and visualizations to NDJSON
-
curl -X POST http://kibana:5601/api/saved_objects/_import?overwrite=true -H 'kbn-xsrf: true' -F file=@export.ndjsonImport dashboards and visualizations from NDJSON, overwriting existing ones
-
curl -s http://kibana:5601/api/status | jq '{status: .status.overall.level, version: .version.number}'Show the overall status and the Kibana version
-
curl -s http://kibana:5601/api/saved_objects/_find?type=index-pattern | jq '.saved_objects[].attributes.title'Show all index patterns in Kibana