# Latest

**URL:** https://discuss.elastic.co/latest.md?page=1158

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 1159

---

## [I got received plaintext http traffic on an https channel, closing connection Netty4HttpChannel](https://discuss.elastic.co/t/i-got-received-plaintext-http-traffic-on-an-https-channel-closing-connection-netty4httpchannel/302973)

<div class="topic-metadata">

**Author:** [@moazmahmoud\_saad](https://discuss.elastic.co/u/moazmahmoud_saad)\
**Replies:** 1\
**Last updated:** [April 26, 2022, 1:13am UTC](https://discuss.elastic.co/t/i-got-received-plaintext-http-traffic-on-an-https-channel-closing-connection-netty4httpchannel/302973 "2022-04-26T01:13:41Z")

</div>

i got this error on Elasticsearch 8.1.3 , how can i solve it i see many solutions but it doesn't work here is the output of the terminal when i go ot "http://localhost:9200/" it shows no data come and on the terminal i …

---

## [Logstash / Elastic CVE-2022-21449](https://discuss.elastic.co/t/logstash-elastic-cve-2022-21449/302962)

<div class="topic-metadata">

**Author:** [@saberph](https://discuss.elastic.co/u/saberph)\
**Replies:** 0\
**Last updated:** [April 21, 2022, 7:52pm UTC](https://discuss.elastic.co/t/logstash-elastic-cve-2022-21449/302962 "2022-04-21T19:52:14Z")

</div>

Hi, Are Elasticsearch or Logstash affected by CVE-2022-21449 ? The bundle jdk v16 seems vulnerable. /usr/share/Elasticsearch/jdk/bin/java is not yet updated to fix the CVE. Thanks.

---

## [Some question about soft\_deletes and Reindex API](https://discuss.elastic.co/t/some-question-about-soft-deletes-and-reindex-api/302765)

<div class="topic-metadata">

**Author:** [@zhangzongdong](https://discuss.elastic.co/u/zhangzongdong)\
**Replies:** 5\
**Last updated:** [April 26, 2022, 1:12am UTC](https://discuss.elastic.co/t/some-question-about-soft-deletes-and-reindex-api/302765 "2022-04-26T01:12:31Z")

</div>

Two questions How to use reindex API with zero downtime. Could the index setting of index.soft\_deletes\_enabled be non-dynamic and replace reindex API with setting index.soft\_deletes\_enabled to true for a exist index wit…

---

## [Need help with pfx certificate installation on Windows Server 2016](https://discuss.elastic.co/t/need-help-with-pfx-certificate-installation-on-windows-server-2016/302954)

<div class="topic-metadata">

**Author:** [@vikas.shirke](https://discuss.elastic.co/u/vikas.shirke)\
**Replies:** 0\
**Last updated:** [April 21, 2022, 6:00pm UTC](https://discuss.elastic.co/t/need-help-with-pfx-certificate-installation-on-windows-server-2016/302954 "2022-04-21T18:00:21Z")

</div>

Hi All, Any help would be appreciated! I have downloaded latest 8.1.2 Elasticsearch version on my windows Server 2016 (.zip file). After extracting it, I tried creating certificates by following below two commands with…

---

## [Could not connect to SQL DB using JDBC in Logstash](https://discuss.elastic.co/t/could-not-connect-to-sql-db-using-jdbc-in-logstash/302990)

<div class="topic-metadata">

**Author:** [@Sakshi.Clover](https://discuss.elastic.co/u/Sakshi.Clover)\
**Replies:** 0\
**Last updated:** [April 22, 2022, 7:33am UTC](https://discuss.elastic.co/t/could-not-connect-to-sql-db-using-jdbc-in-logstash/302990 "2022-04-22T07:33:12Z")

</div>

Hi All, I am trying to connect SQL DB with Logstash. Getting exception please refer attachment Below is the Logstash code input { jdbc { jdbc\_connection\_string =\> "jdbc:sqlserver://server;databaseName=…

---

## [Elasticsearch Cluster Configuration when upgrading ES to 7.16.2](https://discuss.elastic.co/t/elasticsearch-cluster-configuration-when-upgrading-es-to-7-16-2/303042)

<div class="topic-metadata">

**Author:** [@PAVK\_PRASAD](https://discuss.elastic.co/u/PAVK_PRASAD)\
**Replies:** 1\
**Last updated:** [April 26, 2022, 1:08am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-configuration-when-upgrading-es-to-7-16-2/303042 "2022-04-26T01:08:13Z")

</div>

Hi Team, Required "Elasticsearch.yml" configuration for cluster (i.e 2 nodes) when upgrading ES to 7.16.2 from 7.3.2. Is below two properties are enough for cluster xpack.security.enabled: true xpack.security.transpo…

---

## [How to create a user with the security API in ElasticSearch create a user with Node JS Client?](https://discuss.elastic.co/t/how-to-create-a-user-with-the-security-api-in-elasticsearch-create-a-user-with-node-js-client/303017)

<div class="topic-metadata">

**Author:** [@Saurabh24](https://discuss.elastic.co/u/Saurabh24)\
**Replies:** 0\
**Last updated:** [April 22, 2022, 10:39am UTC](https://discuss.elastic.co/t/how-to-create-a-user-with-the-security-api-in-elasticsearch-create-a-user-with-node-js-client/303017 "2022-04-22T10:39:45Z")

</div>

The user is not getting created when the security API is used to create a user with the help of Node JS client. Can you please specify a code snippet or an example?

---

## [Scale down cluster recommendations](https://discuss.elastic.co/t/scale-down-cluster-recommendations/303123)

<div class="topic-metadata">

**Author:** [@elementcz](https://discuss.elastic.co/u/elementcz)\
**Replies:** 1\
**Last updated:** [April 26, 2022, 1:02am UTC](https://discuss.elastic.co/t/scale-down-cluster-recommendations/303123 "2022-04-26T01:02:50Z")

</div>

Hello, we made a demo setup of Elasticsearch cluster on k8s consisting of 2 ingest nodes, 3 data nodes and 3 master nodes. As we bought the platinum license valid for only 3 nodes now we will need to scale cluster down …

---

## [Elasticsearch index shard size expanding/contracting by more than 75% of size](https://discuss.elastic.co/t/elasticsearch-index-shard-size-expanding-contracting-by-more-than-75-of-size/303149)

<div class="topic-metadata">

**Author:** [@Vamsi\_Htc](https://discuss.elastic.co/u/Vamsi_Htc)\
**Replies:** 1\
**Last updated:** [April 26, 2022, 1:01am UTC](https://discuss.elastic.co/t/elasticsearch-index-shard-size-expanding-contracting-by-more-than-75-of-size/303149 "2022-04-26T01:01:13Z")

</div>

We run cluster on 5.6.3 , a 45 node cluster with single replica and shard size is around 70 GB . On some occasions shard size is expanding more than 75% of usual size and reaching to 120GB . This is causing diskspace hi…

---

## [Elastic Index is getting delete automatically without any policy configuration in Amazon opensearch service](https://discuss.elastic.co/t/elastic-index-is-getting-delete-automatically-without-any-policy-configuration-in-amazon-opensearch-service/303153)

<div class="topic-metadata">

**Author:** [@Mayur\_Jain2](https://discuss.elastic.co/u/Mayur_Jain2)\
**Replies:** 2\
**Last updated:** [April 26, 2022, 12:59am UTC](https://discuss.elastic.co/t/elastic-index-is-getting-delete-automatically-without-any-policy-configuration-in-amazon-opensearch-service/303153 "2022-04-26T00:59:28Z")

</div>

We have setup Elasticsearch engine in amazon open service. Some how multiple times around 60 days of gaps , all indexes got deleted automatically. We are not able to find any configuration or solution for preventing the …

---

## [7.9.3 Elasticsearch Installation Error](https://discuss.elastic.co/t/7-9-3-elasticsearch-installation-error/303175)

<div class="topic-metadata">

**Author:** [@Parvi](https://discuss.elastic.co/u/Parvi)\
**Replies:** 1\
**Last updated:** [April 26, 2022, 12:57am UTC](https://discuss.elastic.co/t/7-9-3-elasticsearch-installation-error/303175 "2022-04-26T00:57:17Z")

</div>

I am getting this error tryin to install Elasticsearch 7.9.3 on my Windows system. Please suggest. Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/core/config/properties/PropertiesCon…

---

## [Elasticsearch RAM remains busy. Elasticsearch version 6.3.0](https://discuss.elastic.co/t/elasticsearch-ram-remains-busy-elasticsearch-version-6-3-0/301985)

<div class="topic-metadata">

**Author:** [@Alex\_A](https://discuss.elastic.co/u/Alex_A)\
**Replies:** 2\
**Last updated:** [April 26, 2022, 12:49am UTC](https://discuss.elastic.co/t/elasticsearch-ram-remains-busy-elasticsearch-version-6-3-0/301985 "2022-04-26T00:49:47Z")

</div>

Elasticsearch consumes a lot of memory during load testing. But the main problem is that after the termination of the load testing, the RAM remains busy. Elasticsearch version 6.3.0. What could be the problem? What clari…

---

## [Unable to access elastic search without SSL](https://discuss.elastic.co/t/unable-to-access-elastic-search-without-ssl/303201)

<div class="topic-metadata">

**Author:** [@newelastic](https://discuss.elastic.co/u/newelastic)\
**Replies:** 1\
**Last updated:** [April 26, 2022, 12:12am UTC](https://discuss.elastic.co/t/unable-to-access-elastic-search-without-ssl/303201 "2022-04-26T00:12:20Z")

</div>

Hello, I'm trying to pull data from Elasticsearch using logstash pipeline and seeing some issues. I'm able to connect to ES using username and pwd through API (No certificate is provided in the request). However, when t…

---

## [Custom Plugin: New visualization toast showing "undefined" added](https://discuss.elastic.co/t/custom-plugin-new-visualization-toast-showing-undefined-added/302969)

<div class="topic-metadata">

**Author:** [@Gustavo\_Llermaly](https://discuss.elastic.co/u/Gustavo_Llermaly)\
**Replies:** 2\
**Last updated:** [April 25, 2022, 11:48pm UTC](https://discuss.elastic.co/t/custom-plugin-new-visualization-toast-showing-undefined-added/302969 "2022-04-25T23:48:07Z")

</div>

Hello, I'm creating a new visualization type, but when I add it to the dashboard , the toast shows "undefined" added. How can I set an initial value for this component to show it in the Toast? Thanks!

---

## [Using distinct state containers (global/local) for the same component](https://discuss.elastic.co/t/using-distinct-state-containers-global-local-for-the-same-component/303045)

<div class="topic-metadata">

**Author:** [@Specialist](https://discuss.elastic.co/u/Specialist)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 11:28pm UTC](https://discuss.elastic.co/t/using-distinct-state-containers-global-local-for-the-same-component/303045 "2022-04-25T23:28:50Z")

</div>

Hi there, let's say I have a custom Kibana plugin that should access global (\_g) as well as application-specific state. To do so, have have created two state containers via createStateContainer from create\_state\_contain…

---

## [Watcher PDF reporting fails on dockerised 7.17.x](https://discuss.elastic.co/t/watcher-pdf-reporting-fails-on-dockerised-7-17-x/301572)

<div class="topic-metadata">

**Author:** [@cafuego](https://discuss.elastic.co/u/cafuego)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 11:25pm UTC](https://discuss.elastic.co/t/watcher-pdf-reporting-fails-on-dockerised-7-17-x/301572 "2022-04-25T23:25:29Z")

</div>

Since my ELK stack upate from 7.16.2 to 7.17.1 (and 7.17.2 after that) Watcher has been unable to generate PDF reports. I run a dockerised ELK on Amazon EC2- using the Elastic-provided docker images. When I went to look…

---

## [Cloud run connect devices Cloud IoT Core](https://discuss.elastic.co/t/cloud-run-connect-devices-cloud-iot-core/303119)

<div class="topic-metadata">

**Author:** [@dhattu](https://discuss.elastic.co/u/dhattu)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 10:11pm UTC](https://discuss.elastic.co/t/cloud-run-connect-devices-cloud-iot-core/303119 "2022-04-25T22:11:15Z")

</div>

I have a IoT architecture which I have differents devices sending info to Google Cloud using MQTT. I am in a dev enviorement and I don'r have the real devices so I am trying to simulate them with a Cloud Run (Just try to…

---

## [Slow log threshold question](https://discuss.elastic.co/t/slow-log-threshold-question/302159)

<div class="topic-metadata">

**Author:** [@knightsg1](https://discuss.elastic.co/u/knightsg1)\
**Replies:** 3\
**Last updated:** [April 25, 2022, 9:35pm UTC](https://discuss.elastic.co/t/slow-log-threshold-question/302159 "2022-04-25T21:35:12Z")

</div>

I'm looking through the documentation regarding the slow log as I'd like to use it troubleshoot some performance issues we've run into. I'm a bit confused about the thresholds that are suggested in the documentation as i…

---

## [Error when exporting saved objects](https://discuss.elastic.co/t/error-when-exporting-saved-objects/303079)

<div class="topic-metadata">

**Author:** [@jeremyross](https://discuss.elastic.co/u/jeremyross)\
**Replies:** 2\
**Last updated:** [April 25, 2022, 6:45pm UTC](https://discuss.elastic.co/t/error-when-exporting-saved-objects/303079 "2022-04-25T18:45:24Z")

</div>

I'm getting the following error when attempting to export saved objects: { "statusCode": 400, "error": "Bad Request", "message": "\[request body.attributes\]: expected value of type \[object\] but got \[undefined\]" } I…

---

## [No public build() method on Aggregation.Builder class](https://discuss.elastic.co/t/no-public-build-method-on-aggregation-builder-class/303173)

<div class="topic-metadata">

**Author:** [@sbrunot](https://discuss.elastic.co/u/sbrunot)\
**Replies:** 2\
**Last updated:** [April 25, 2022, 5:34pm UTC](https://discuss.elastic.co/t/no-public-build-method-on-aggregation-builder-class/303173 "2022-04-25T17:34:52Z")

</div>

Hello, In the new Elasticsearch Java Client API, the method build() of class co.elastic.clients.Elasticsearch.\_types.aggregations.Aggregation.Builder is not public. What is the correct way of creating an instance of co…

---

## [Making a grok filed optional in grok pattern](https://discuss.elastic.co/t/making-a-grok-filed-optional-in-grok-pattern/303159)

<div class="topic-metadata">

**Author:** [@Pranjal\_Sett](https://discuss.elastic.co/u/Pranjal_Sett)\
**Replies:** 2\
**Last updated:** [April 25, 2022, 5:29pm UTC](https://discuss.elastic.co/t/making-a-grok-filed-optional-in-grok-pattern/303159 "2022-04-25T17:29:38Z")

</div>

Hi, I am trying to make my field optional. Let me give you the scenario below: let suppose my log patterns are: pattern 1: \[2022-04-25T12:51:27.967+02:00\] \[d03-c02-s02\] \[NOTIFICATION\] \[oracle.wsm.msg.logging\] \[tid: …

---

## [Setting the number of replicas in Index Creation](https://discuss.elastic.co/t/setting-the-number-of-replicas-in-index-creation/303166)

<div class="topic-metadata">

**Author:** [@SamuelSMendes](https://discuss.elastic.co/u/SamuelSMendes)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 5:22pm UTC](https://discuss.elastic.co/t/setting-the-number-of-replicas-in-index-creation/303166 "2022-04-25T17:22:34Z")

</div>

Hello everyone, when I create a new Index via Logstash they always go with 1 replica and that turns the Index yellow. So I edit it in Index Management to set replicas to 0 the Index turns green; It might be silly but I …

---

## [No matching indices found: No indices match pattern "filebeat-\*"](https://discuss.elastic.co/t/no-matching-indices-found-no-indices-match-pattern-filebeat/302976)

<div class="topic-metadata">

**Author:** [@napoleon182](https://discuss.elastic.co/u/napoleon182)\
**Replies:** 9\
**Last updated:** [April 25, 2022, 5:02pm UTC](https://discuss.elastic.co/t/no-matching-indices-found-no-indices-match-pattern-filebeat/302976 "2022-04-25T17:02:43Z")

</div>

Hi All, I have big problem with my recent deploy of ES version 7.8 using docker. I'm trying to connect my filebeat sources, but I have following ERROR in the Stack Management 7.8.0 (see screenshot below). Some of the sou…

---

## [Get stack Trace details for netcore3.1 net5 version applications with Elastic APM](https://discuss.elastic.co/t/get-stack-trace-details-for-netcore3-1-net5-version-applications-with-elastic-apm/303168)

<div class="topic-metadata">

**Author:** [@Namita\_Jaokar](https://discuss.elastic.co/u/Namita_Jaokar)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 4:48pm UTC](https://discuss.elastic.co/t/get-stack-trace-details-for-netcore3-1-net5-version-applications-with-elastic-apm/303168 "2022-04-25T16:48:39Z")

</div>

Hi , I am using Elastic APM for dotnet application-(MVC model) and following the zero code set up method to configure my dotnet application with elastic apm agent. I am unable to view the end to end flow of the api cal…

---

## [Anomaly Detection Categorization: Kibana Severity vs Anomaly score](https://discuss.elastic.co/t/anomaly-detection-categorization-kibana-severity-vs-anomaly-score/303007)

<div class="topic-metadata">

**Author:** [@aviral\_srivastava](https://discuss.elastic.co/u/aviral_srivastava)\
**Replies:** 1\
**Last updated:** [April 22, 2022, 1:38pm UTC](https://discuss.elastic.co/t/anomaly-detection-categorization-kibana-severity-vs-anomaly-score/303007 "2022-04-22T13:38:03Z")

</div>

Hi, I am using Elasticsearch 8.1.0 Kibana 8.1.0 I have created a Categorization job in kibana. As input, I have given the index field which contains the log messages. After the job gets completed processing, I can s…

---

## [Elasticsearch Java Client: Support for custom mappings/settings](https://discuss.elastic.co/t/elasticsearch-java-client-support-for-custom-mappings-settings/303172)

<div class="topic-metadata">

**Author:** [@Fabrizio\_Fortino](https://discuss.elastic.co/u/Fabrizio_Fortino)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 4:17pm UTC](https://discuss.elastic.co/t/elasticsearch-java-client-support-for-custom-mappings-settings/303172 "2022-04-25T16:17:19Z")

</div>

Custom plugins sometimes require custom mappings/settings. As an example, elastiknn requires a specific setting to enable the plugin for a given index and a custom field mapping for the configuration. With the Rest Hig…

---

## [\[Kibana\]\[ML\] The job id cannot contain more than 64 characters](https://discuss.elastic.co/t/kibana-ml-the-job-id-cannot-contain-more-than-64-characters/303047)

<div class="topic-metadata">

**Author:** [@marone](https://discuss.elastic.co/u/marone)\
**Replies:** 3\
**Last updated:** [April 25, 2022, 3:00pm UTC](https://discuss.elastic.co/t/kibana-ml-the-job-id-cannot-contain-more-than-64-characters/303047 "2022-04-25T15:00:31Z")

</div>

Hello, I'm trying to create a ML job to test the anomalies feature with observability, the Log rate job was created successfully, but when I try to create a "Categorization" job it's saying "The job id cannot contain mor…

---

## [Doc\_values and Inverted Index in Elastic 8.1](https://discuss.elastic.co/t/doc-values-and-inverted-index-in-elastic-8-1/302716)

<div class="topic-metadata">

**Author:** [@SamuelSMendes](https://discuss.elastic.co/u/SamuelSMendes)\
**Replies:** 4\
**Last updated:** [April 25, 2022, 2:51pm UTC](https://discuss.elastic.co/t/doc-values-and-inverted-index-in-elastic-8-1/302716 "2022-04-25T14:51:18Z")

</div>

Hello everyone, my question is about the feature that makes possible to disable inverted index in Elastic 8.1. Can I still mannipulate the data I get from Logstash even without the inverted index? On my learning of ELK (…

---

## [Elasticsearch enrich index](https://discuss.elastic.co/t/elasticsearch-enrich-index/303158)

<div class="topic-metadata">

**Author:** [@Slim\_Saddem](https://discuss.elastic.co/u/Slim_Saddem)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 2:07pm UTC](https://discuss.elastic.co/t/elasticsearch-enrich-index/303158 "2022-04-25T14:07:11Z")

</div>

Hi everyone! I use enrich policy to enrich indexes with data from another indexes. Link Documentation : Enrich your data | Elasticsearch Guide \[7.16\] | Elastic its works fine, but my problem is Elasticsearch doesn't r…

---

## [Aggregation Response](https://discuss.elastic.co/t/aggregation-response/303126)

<div class="topic-metadata">

**Author:** [@jpv](https://discuss.elastic.co/u/jpv)\
**Replies:** 2\
**Last updated:** [April 25, 2022, 1:55pm UTC](https://discuss.elastic.co/t/aggregation-response/303126 "2022-04-25T13:55:08Z")

</div>

I recently migrated to Elasticsearch 7.0 and currently using RestHighLevelClient. I noticed my search response, specifically the aggregation response has some added prefixes on the aggregation name (filters#. sterm, min,…

[Previous page](https://discuss.elastic.co/latest.md?page=1157)

[Next page](https://discuss.elastic.co/latest.md?page=1159)
