{"id":738,"date":"2021-04-26T11:15:30","date_gmt":"2021-04-26T09:15:30","guid":{"rendered":"https:\/\/www.ume.li\/blog\/?p=738"},"modified":"2021-04-26T12:56:17","modified_gmt":"2021-04-26T10:56:17","slug":"access-your-index-elastic-search-queries","status":"publish","type":"post","link":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/","title":{"rendered":"Access your index &#8211; Elastic Search queries"},"content":{"rendered":"<p>HCL Component Pack is fully set-up now, you&#8217;re interested what&#8217;s going on in that mysterious elasticsearch part? In CP 6.5 you&#8217;ve been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone.<\/p>\n<p>If you really want\/need to access the ElasticSearch environment, you may use the following path on your own risk<\/p>\n<p>Step 1: get the necessary certificates<\/p>\n<pre class=\"brush: bash; title: getSecrets.sh; notranslate\" title=\"getSecrets.sh\">\r\n#!\/bin\/sh\r\n\r\necho &quot;check directory&quot;\r\ncwd=`pwd`\r\nif &#x5B; ! -d &quot;$cwd\/certs&quot; ]; then\r\n mkdir -p $cwd\/certs\r\nfi\r\nversion='elasticsearch-7-secret'\r\n#version='elasticsearch-secret'\r\necho &quot;extract certificates&quot;\r\nif &#x5B; ! -f &quot;$cwd\/certs\/elasticsearch-healthcheck.crt.pem&quot; ]; then\r\n\tkubectl view-secret -n connections $version elasticsearch-healthcheck.crt.pem &gt; $cwd\/certs\/elasticsearch-healthcheck.crt.pem\r\nfi \r\nif &#x5B; ! -f &quot;$cwd\/certs\/elasticsearch-http.crt.pem&quot; ]; then\r\n\tkubectl view-secret -n connections $version elasticsearch-http.crt.pem &gt; $cwd\/certs\/elasticsearch-http.crt.pem\r\nfi\r\nif &#x5B; ! -f &quot;$cwd\/certs\/elasticsearch-healthcheck.des3.key&quot; ]; then\r\n\tkubectl view-secret -n connections $version elasticsearch-healthcheck.des3.key &gt; $cwd\/certs\/elasticsearch-healthcheck.des3.key\r\nfi\r\n\r\necho &quot;done&quot;\r\n<\/pre>\n<p>This script requires the <a href=\"https:\/\/krew.sigs.k8s.io\/\" title=\"kubectl krew plugins\" rel=\"noopener\" target=\"_blank\">kubectl krew plugins<\/a> installed in your kubectl client.<br \/>\nRun this on your master or a client which has kubectl and the krew plugin installed to get the secrets. <\/p>\n<p>Then you could use the following script as an example:<\/p>\n<pre class=\"brush: bash; title: sendRequest.sh; notranslate\" title=\"sendRequest.sh\">\r\n#!\/bin\/bash\r\n# An util script so that you can interact with es like what official site suggested:\r\n# for additional usage, if you need to do much more complicated operation, pls\r\n# refer to offcial site:\r\n# https:\/\/www.elastic.co\/\r\n\r\n\r\nset -o errexit\r\nset -o pipefail\r\nset -o nounset\r\n\r\n# the directory that all cert placed\r\n# change this to your cert directory.\r\ncert_dir=.\/certs\r\nHOST=`hostname`\r\nURL_base=&quot;https:\/\/localhost:30098&quot;\r\n#CP6.5:\r\n#URL_base=&quot;https:\/\/localhost:30099&quot;\r\n#CP6.5: KEY_PASS=`kubectl view-secret -n connections elasticsearch-secret elasticsearch-key-password.txt`\r\n\r\nKEY_PASS=`kubectl view-secret -n connections elasticsearch-7-secret elasticsearch-key-password.txt`\r\n\r\necho &quot;&#x5B;$KEY_PASS]&quot;\r\nif &#x5B; &quot;${1:-}&quot; = &quot;&quot; ] || &#x5B; &quot;${2:-}&quot; = &quot;&quot; ]; then\r\n  echo &quot;usage: sendRequest.sh   param_method param_url &#x5B;additional param]&quot;\r\n  echo &quot;Request is send to es client(coordinating node) by default. add param&quot;\r\n  echo &quot;to send request to es master node&quot;\r\n  echo &quot;refer: https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/modules-node.html&quot;\r\n  exit 107\r\nfi\r\n\r\n# save the HTTPS METHOD.\r\n_method=$1\r\n# and then shfit this argument.\r\n# since we need to pass the rest args to curl command unchanged.\r\nshift 1\r\n\r\n# turn off expansion to avoid asterisk becoming current directory\r\nset -f\r\n# please ensure those\r\n#   cert, password, key, cacert\r\n# are at the right location.\r\nresponse_text=$(curl \\\r\n   --insecure \\\r\n   --cert $cert_dir\/elasticsearch-healthcheck.crt.pem:${KEY_PASS} \\\r\n   --key  $cert_dir\/elasticsearch-healthcheck.des3.key \\\r\n   --cacert $cert_dir\/elasticsearch-http.crt.pem \\\r\n   -X${_method} \\\r\n   ${URL_base}&quot;$@&quot;)\r\n\r\n# echo to return to caller.\r\necho ${response_text}\r\n# turn expansion back to 'on'\r\nset +f\r\n<\/pre>\n<p>Now you can use it like this<\/p>\n<pre class=\"brush: bash; title: example:; notranslate\" title=\"example:\">\r\n.\/sendRequest.sh GET \/_cat\/indices &gt; indices.txt\r\n<\/pre>\n<p>Disclaimer: use at your own risk<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HCL Component Pack is fully set-up now, you&#8217;re interested what&#8217;s going on in that mysterious elasticsearch part? In CP 6.5<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[62,54,23],"tags":[],"class_list":["post-738","post","type-post","status-publish","format-standard","hentry","category-62","category-component-pack","category-connections"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"HCL Component Pack is fully set-up now, you&#039;re interested what&#039;s going on in that mysterious elasticsearch part? In CP 6.5 you&#039;ve been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone. If you really want\/need to access the ElasticSearch environment, you may use the following path\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"umeli\"\/>\n\t<meta name=\"keywords\" content=\"7,component pack,connections\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Urs Meli&#039;s Blog\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Access your index \u2013 Elastic Search queries | Urs Meli&#039;s Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"HCL Component Pack is fully set-up now, you&#039;re interested what&#039;s going on in that mysterious elasticsearch part? In CP 6.5 you&#039;ve been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone. If you really want\/need to access the ElasticSearch environment, you may use the following path\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-04-26T09:15:30+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-04-26T10:56:17+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@umeli\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Access your index \u2013 Elastic Search queries | Urs Meli&#039;s Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"HCL Component Pack is fully set-up now, you&#039;re interested what&#039;s going on in that mysterious elasticsearch part? In CP 6.5 you&#039;ve been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone. If you really want\/need to access the ElasticSearch environment, you may use the following path\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@umeli\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#article\",\"name\":\"Access your index \\u2013 Elastic Search queries | Urs Meli's Blog\",\"headline\":\"Access your index &#8211; Elastic Search queries\",\"author\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b722f3e7e78b4f1e2b994856370dd7327963f636c5b50078baa80c2c4e411165?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"umeli\"},\"datePublished\":\"2021-04-26T11:15:30+02:00\",\"dateModified\":\"2021-04-26T12:56:17+02:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#webpage\"},\"articleSection\":\"7, component pack, Connections\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/#listItem\",\"name\":\"Connections\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/#listItem\",\"position\":2,\"name\":\"Connections\",\"item\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/7\\\/#listItem\",\"name\":\"7\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/7\\\/#listItem\",\"position\":3,\"name\":\"7\",\"item\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/7\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#listItem\",\"name\":\"Access your index &#8211; Elastic Search queries\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/#listItem\",\"name\":\"Connections\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#listItem\",\"position\":4,\"name\":\"Access your index &#8211; Elastic Search queries\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/category\\\/connections\\\/7\\\/#listItem\",\"name\":\"7\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#person\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/bba650dede6888bd44d79e656db7b6564b4a7e7ba51445cc1c062dd769729e59?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"admin\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/#author\",\"url\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/\",\"name\":\"umeli\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b722f3e7e78b4f1e2b994856370dd7327963f636c5b50078baa80c2c4e411165?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"umeli\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/\",\"name\":\"Access your index \\u2013 Elastic Search queries | Urs Meli's Blog\",\"description\":\"HCL Component Pack is fully set-up now, you're interested what's going on in that mysterious elasticsearch part? In CP 6.5 you've been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone. If you really want\\\/need to access the ElasticSearch environment, you may use the following path\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/2021\\\/04\\\/26\\\/access-your-index-elastic-search-queries\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/author\\\/umeli\\\/#author\"},\"datePublished\":\"2021-04-26T11:15:30+02:00\",\"dateModified\":\"2021-04-26T12:56:17+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/\",\"name\":\"Urs Meli's Blog\",\"description\":\"Mostly harmless\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ume.li\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Access your index \u2013 Elastic Search queries | Urs Meli's Blog","description":"HCL Component Pack is fully set-up now, you're interested what's going on in that mysterious elasticsearch part? In CP 6.5 you've been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone. If you really want\/need to access the ElasticSearch environment, you may use the following path","canonical_url":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/","robots":"max-image-preview:large","keywords":"7,component pack,connections","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#article","name":"Access your index \u2013 Elastic Search queries | Urs Meli's Blog","headline":"Access your index &#8211; Elastic Search queries","author":{"@id":"https:\/\/www.ume.li\/blog\/author\/umeli\/#author"},"publisher":{"@id":"https:\/\/www.ume.li\/blog\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/b722f3e7e78b4f1e2b994856370dd7327963f636c5b50078baa80c2c4e411165?s=96&d=mm&r=g","width":96,"height":96,"caption":"umeli"},"datePublished":"2021-04-26T11:15:30+02:00","dateModified":"2021-04-26T12:56:17+02:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#webpage"},"articleSection":"7, component pack, Connections"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/www.ume.li\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/#listItem","name":"Connections"}},{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/#listItem","position":2,"name":"Connections","item":"https:\/\/www.ume.li\/blog\/category\/connections\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/#listItem","name":"7"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/#listItem","position":3,"name":"7","item":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#listItem","name":"Access your index &#8211; Elastic Search queries"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/#listItem","name":"Connections"}},{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#listItem","position":4,"name":"Access your index &#8211; Elastic Search queries","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/#listItem","name":"7"}}]},{"@type":"Person","@id":"https:\/\/www.ume.li\/blog\/#person","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/bba650dede6888bd44d79e656db7b6564b4a7e7ba51445cc1c062dd769729e59?s=96&d=mm&r=g","width":96,"height":96,"caption":"admin"}},{"@type":"Person","@id":"https:\/\/www.ume.li\/blog\/author\/umeli\/#author","url":"https:\/\/www.ume.li\/blog\/author\/umeli\/","name":"umeli","image":{"@type":"ImageObject","@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b722f3e7e78b4f1e2b994856370dd7327963f636c5b50078baa80c2c4e411165?s=96&d=mm&r=g","width":96,"height":96,"caption":"umeli"}},{"@type":"WebPage","@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#webpage","url":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/","name":"Access your index \u2013 Elastic Search queries | Urs Meli's Blog","description":"HCL Component Pack is fully set-up now, you're interested what's going on in that mysterious elasticsearch part? In CP 6.5 you've been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone. If you really want\/need to access the ElasticSearch environment, you may use the following path","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ume.li\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ume.li\/blog\/author\/umeli\/#author"},"creator":{"@id":"https:\/\/www.ume.li\/blog\/author\/umeli\/#author"},"datePublished":"2021-04-26T11:15:30+02:00","dateModified":"2021-04-26T12:56:17+02:00"},{"@type":"WebSite","@id":"https:\/\/www.ume.li\/blog\/#website","url":"https:\/\/www.ume.li\/blog\/","name":"Urs Meli's Blog","description":"Mostly harmless","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ume.li\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Urs Meli's Blog","og:type":"article","og:title":"Access your index \u2013 Elastic Search queries | Urs Meli's Blog","og:description":"HCL Component Pack is fully set-up now, you're interested what's going on in that mysterious elasticsearch part? In CP 6.5 you've been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone. If you really want\/need to access the ElasticSearch environment, you may use the following path","og:url":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/","article:published_time":"2021-04-26T09:15:30+00:00","article:modified_time":"2021-04-26T10:56:17+00:00","twitter:card":"summary","twitter:site":"@umeli","twitter:title":"Access your index \u2013 Elastic Search queries | Urs Meli's Blog","twitter:description":"HCL Component Pack is fully set-up now, you're interested what's going on in that mysterious elasticsearch part? In CP 6.5 you've been able to access the ElasticSearch data directly through the kibana pod. With CP7 this seems to be gone. If you really want\/need to access the ElasticSearch environment, you may use the following path","twitter:creator":"@umeli"},"aioseo_meta_data":{"post_id":"738","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"aioseo-article-634fec4b00ba9","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":{"locations":{"business":{"name":"","businessType":"","image":"","areaServed":"","urls":{"website":"","aboutPage":"","contactPage":""},"address":{"streetLine1":"","streetLine2":"","zipCode":"","city":"","state":"","country":"","addressFormat":"#streetLineOne\n#streetLineTwo\n#city, #state #zipCode"},"contact":{"phone":"","email":"","fax":""},"ids":{"vat":"","tax":"","chamberOfCommerce":""},"payment":{"priceRange":"","currenciesAccepted":"","methods":""}}},"openingHours":{"useDefaults":true,"show":true,"alwaysOpen":false,"use24hFormat":false,"timezone":"","labels":{"closed":"","alwaysOpen":""},"days":{"monday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"tuesday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"wednesday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"thursday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"friday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"saturday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"},"sunday":{"open24h":false,"closed":false,"openTime":"09:00","closeTime":"17:00"}}}},"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-04-26 09:00:31","updated":"2025-07-09 09:53:36","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ume.li\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ume.li\/blog\/category\/connections\/\" title=\"Connections\">Connections<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ume.li\/blog\/category\/connections\/7\/\" title=\"7\">7<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAccess your index \u2013 Elastic Search queries\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ume.li\/blog\/"},{"label":"Connections","link":"https:\/\/www.ume.li\/blog\/category\/connections\/"},{"label":"7","link":"https:\/\/www.ume.li\/blog\/category\/connections\/7\/"},{"label":"Access your index &#8211; Elastic Search queries","link":"https:\/\/www.ume.li\/blog\/2021\/04\/26\/access-your-index-elastic-search-queries\/"}],"_links":{"self":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/738","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/comments?post=738"}],"version-history":[{"count":5,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/738\/revisions"}],"predecessor-version":[{"id":743,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/posts\/738\/revisions\/743"}],"wp:attachment":[{"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/media?parent=738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/categories?post=738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ume.li\/blog\/wp-json\/wp\/v2\/tags?post=738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}