<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Elasticsearch on </title>
    <link>https://stoeps.de/tags/elasticsearch/</link>
    <description>Recent content in Elasticsearch on </description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>christoph.stoettner@stoeps.de (Christoph Stoettner)</managingEditor>
    <webMaster>christoph.stoettner@stoeps.de (Christoph Stoettner)</webMaster>
    <copyright>&amp;copy; 2026 Christoph Stöttner - This work is licensed under [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) &lt;span class=&#39;footerimg&#39;&gt;&lt;img src=&#39;https://mirrors.creativecommons.org/presskit/icons/cc.svg&#39; alt=&#39;&#39; style=&#39;max-width: 1em;max-height:1em;margin-left: .2em;&#39;&gt;&lt;img src=&#39;https://mirrors.creativecommons.org/presskit/icons/by.svg&#39; alt=&#39;&#39; style=&#39;max-width: 1em;max-height:1em;margin-left: .2em;&#39;&gt;&lt;img src=&#39;https://mirrors.creativecommons.org/presskit/icons/sa.svg&#39; alt=&#39;&#39; style=&#39;max-width: 1em;max-height:1em;margin-left: .2em;&#39;&gt;&lt;/span&gt;</copyright>
    <lastBuildDate>Fri, 02 Sep 2022 13:00:00 +0200</lastBuildDate><atom:link href="https://stoeps.de/tags/elasticsearch/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Update Elasticsearch certificates in Componentpack</title>
      <link>https://stoeps.de/posts/2022/update-elasticsearch-certificates/</link>
      <pubDate>Fri, 02 Sep 2022 13:00:00 +0200</pubDate>
      <author>christoph.stoettner@stoeps.de (Christoph Stoettner)</author>
      <guid>https://stoeps.de/posts/2022/update-elasticsearch-certificates/</guid>
      <description>&lt;p&gt;Elasticsearch in HCL Connections Componentpack is secured with Searchguard and needs certificates to work properly. These certificates are generated by &lt;a href=&#34;https://help.hcltechsw.com/connections/v7/admin/install/cp_install_services_tasks.html?hl=bootstrap#cp_install_services_tasks__section_iqb_24c_qmb&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;bootstrap&lt;/a&gt; during the initial container deployment with &lt;code&gt;helm&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;These certificates are valid for 10 years (&lt;code&gt;chain_ca.pem&lt;/code&gt;) or 2 years (&lt;code&gt;elasticsearch*.pem&lt;/code&gt;) and stored in the Kubernetes secrets &lt;code&gt;elasticsearch-secret&lt;/code&gt;, &lt;code&gt;elasticsearch-7-secret&lt;/code&gt;. So when your HCL Connections deployment is running for 2 years, the certficates stop working.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://stoeps.de/posts/2022/update-elasticsearch-certificates/feature.jpg" />
    </item>
    
    <item>
      <title>How to get regular snapshots with Elasticsearch</title>
      <link>https://stoeps.de/posts/2022/backup-elasticsearch-indices-cronjob/</link>
      <pubDate>Wed, 31 Aug 2022 11:00:00 +0200</pubDate>
      <author>christoph.stoettner@stoeps.de (Christoph Stoettner)</author>
      <guid>https://stoeps.de/posts/2022/backup-elasticsearch-indices-cronjob/</guid>
      <description>&lt;p&gt;Last week I played around with the &lt;a href=&#34;https://help.hcltechsw.com/connections/v7/admin/admin/cp_config_es_backup_restore_data.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;HCL Connections documentation to backup Elasticsearch&lt;/a&gt; in the article &lt;a href=&#34;https://stoeps.de/posts/2022/backup-elasticsearch-indices/&#34; &gt;Backup Elasticsearch Indices in Component Pack&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;In the end I found that I couldn&amp;rsquo;t get the snapshot restored and that I have to run a command outside of my Kubernetes cluster to get a snapshot on a daily basis. That&amp;rsquo;s not what I want.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://stoeps.de/posts/2022/backup-elasticsearch-indices-cronjob/feature.jpg" />
    </item>
    
    <item>
      <title>Backup Elasticsearch Indices in Component Pack</title>
      <link>https://stoeps.de/posts/2022/backup-elasticsearch-indices/</link>
      <pubDate>Fri, 29 Jul 2022 22:00:00 +0200</pubDate>
      <author>christoph.stoettner@stoeps.de (Christoph Stoettner)</author>
      <guid>https://stoeps.de/posts/2022/backup-elasticsearch-indices/</guid>
      <description>&lt;p&gt;During a migration from Cognos Metrics to Elasticsearch Metrics, I had some issues with the index. So I wanted to create a backup of the already migrated data and start over from scratch.&lt;/p&gt;&#xA;&lt;p&gt;The official documentation has an article on the topic: &lt;a href=&#34;https://help.hcltechsw.com/connections/v7/admin/admin/cp_config_es_backup_restore_data.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Backing up and restoring data for Elasticsearch-based components&lt;/a&gt;, but I had to slightly adjust the commands to get a successful snapshot.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://stoeps.de/posts/2022/backup-elasticsearch-indices/feature.jpg" />
    </item>
    
    <item>
      <title>Elasticsearch7 Update</title>
      <link>https://stoeps.de/posts/2022/elasticsearch7-update/</link>
      <pubDate>Tue, 07 Jun 2022 09:21:31 +0200</pubDate>
      <author>christoph.stoettner@stoeps.de (Christoph Stoettner)</author>
      <guid>https://stoeps.de/posts/2022/elasticsearch7-update/</guid>
      <description>&lt;p&gt;CVE-2021-44228 was a very serious problem end of 2021, and we are still finding new occurrences, or security teams scan servers and find vulnerable log4j files. Don&amp;rsquo;t get me wrong most of these occurrences are not vulnerable any more, because the JVM is hardened like in the Elasticsearch 7 containers, or they use of the JVM parameter &lt;code&gt;-Dlog4j2.formatMsgNoLookups=true&lt;/code&gt;.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://stoeps.de/posts/2022/elasticsearch7-update/feature.jpg" />
    </item>
    
    <item>
      <title>Elasticsearch index creation problem</title>
      <link>https://stoeps.de/posts/2020/elasticsearch/</link>
      <pubDate>Thu, 08 Oct 2020 20:53:00 +0200</pubDate>
      <author>christoph.stoettner@stoeps.de (Christoph Stoettner)</author>
      <guid>https://stoeps.de/posts/2020/elasticsearch/</guid>
      <description>&lt;p&gt;Today I activated &lt;a href=&#34;https://help.hcltechsw.com/connections/v65/admin/install/cp_config_es_migrate_cognos_data.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Elasticsearch Metrics&lt;/a&gt; and &lt;a href=&#34;https://help.hcltechsw.com/connections/v65/admin/install/inst_managing_es_index_cnx_typeahead_search.html&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;Typeahead Search&lt;/a&gt; on my demo &lt;a href=&#34;https://www.hcltechsw.com/products/connections&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;HCL Connections cluster&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;To my surprise the indices weren’t created and I got errors on the &lt;code&gt;wsadmin.sh&lt;/code&gt; commands.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;SearchService.createESQuickResultsIndex&lt;span class=&#34;o&#34;&gt;()&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;p&gt;I checked the Elasticsearch pods which showed a running state, but the logs showed following messages:&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
