How to query Elasticsearch for logs and their index mappings in OpenShift 3.x

Solution Unverified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content