How to query Elasticsearch for logs and their index mappings in OpenShift 3.x
Issue
- How to directly query OpenShift's Elasticsearch;
- How to get the list of indices;
- How to get a list of the keys and their mapping type;
- How to see the logs in JSON format for comparison with the mapping.
Environment
- Red Hat OpenShift Container Platform (OCP) 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.