# Latest

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

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

**Page:** 688

---

## [ExponentialDate function in new .Net client for v.8](https://discuss.elastic.co/t/exponentialdate-function-in-new-net-client-for-v-8/332704)

<div class="topic-metadata">

**Author:** [@Martin\_Hallonqvist](https://discuss.elastic.co/u/Martin_Hallonqvist)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 5:16am UTC](https://discuss.elastic.co/t/exponentialdate-function-in-new-net-client-for-v-8/332704 "2023-05-08T05:16:01Z")

</div>

I'm trying to migrate older .Net code using the NEST client to adopting the new Elastic.Clients.Elasticsearch .Net client but I'm having problem implementing the ExponentialDate function. In our prior solution, we had a…

---

## [Failed to submit message (aws lambda using python)](https://discuss.elastic.co/t/failed-to-submit-message-aws-lambda-using-python/332576)

<div class="topic-metadata">

**Author:** [@gabriel-f-santos](https://discuss.elastic.co/u/gabriel-f-santos)\
**Replies:** 3\
**Last updated:** [May 8, 2023, 4:38am UTC](https://discuss.elastic.co/t/failed-to-submit-message-aws-lambda-using-python/332576 "2023-05-08T04:38:23Z")

</div>

Hello guys, I am using elastic in lambda, with: elastic-apm==6.14 layer:elastic-apm-extension-ver-1-3-0-x86\_64:1 python 3.9 in aws lambda I am receiving an error in some operations, most of the executions works fine,…

---

## [ES agent doesn't feed "host.cpu.usage" metric when CPU loading 100%](https://discuss.elastic.co/t/es-agent-doesnt-feed-host-cpu-usage-metric-when-cpu-loading-100/332231)

<div class="topic-metadata">

**Author:** [@rickywong](https://discuss.elastic.co/u/rickywong)\
**Replies:** 5\
**Last updated:** [May 8, 2023, 4:00am UTC](https://discuss.elastic.co/t/es-agent-doesnt-feed-host-cpu-usage-metric-when-cpu-loading-100/332231 "2023-05-08T04:00:45Z")

</div>

Hi teams, Once my VM CPU loading is up to 100%, ES agent can't feed log to ES cloud. So the detection rules can't work as well. How to solve this problem? Thanks Ricky

---

## [Any logs to monitor ingest pipelines ? (Fleet + Custom Log Integration + Custom configurations)](https://discuss.elastic.co/t/any-logs-to-monitor-ingest-pipelines-fleet-custom-log-integration-custom-configurations/332761)

<div class="topic-metadata">

**Author:** [@mehdi-lamrani](https://discuss.elastic.co/u/mehdi-lamrani)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 3:35am UTC](https://discuss.elastic.co/t/any-logs-to-monitor-ingest-pipelines-fleet-custom-log-integration-custom-configurations/332761 "2023-05-08T03:35:48Z")

</div>

8.7 here I've configured a basic pipeline for fleet and elastic-agent using custom configuration (see below) when the pipeline fails documents are not inserted in the data stream. How to get some logs about how did th…

---

## [Elasticsearch cluster red state](https://discuss.elastic.co/t/elasticsearch-cluster-red-state/332722)

<div class="topic-metadata">

**Author:** [@mark\_twin75](https://discuss.elastic.co/u/mark_twin75)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 3:31am UTC](https://discuss.elastic.co/t/elasticsearch-cluster-red-state/332722 "2023-05-08T03:31:46Z")

</div>

Hello all, I am trying to reset elastic user password , while resting password with bin/elasticsearch-reset-password -u elastic command ,my cluster status changed from yellow state to red state . all master nodes are …

---

## [Example of dot\_product similarity on dense\_vector field index document](https://discuss.elastic.co/t/example-of-dot-product-similarity-on-dense-vector-field-index-document/332396)

<div class="topic-metadata">

**Author:** [@adrian-arapiles](https://discuss.elastic.co/u/adrian-arapiles)\
**Replies:** 2\
**Last updated:** [May 8, 2023, 3:22am UTC](https://discuss.elastic.co/t/example-of-dot-product-similarity-on-dense-vector-field-index-document/332396 "2023-05-08T03:22:32Z")

</div>

Hi, I'm trying to benchmark different possibilities with dense\_vector and knn search. I want to test cosine similarity vs dot\_produce similarity because in documentation says that dot\_product is a optimized way to perf…

---

## [Parallel execution of bulk request](https://discuss.elastic.co/t/parallel-execution-of-bulk-request/332627)

<div class="topic-metadata">

**Author:** [@Daniel\_Schneider](https://discuss.elastic.co/u/Daniel_Schneider)\
**Replies:** 5\
**Last updated:** [May 8, 2023, 3:19am UTC](https://discuss.elastic.co/t/parallel-execution-of-bulk-request/332627 "2023-05-08T03:19:21Z")

</div>

Hi, In topic: Parallel execution of bulk request it was clarified that if a bulk contains multiple operations on the same document then they are processed in order. On the other hand in documentation I did not find any…

---

## [If i use log\_file config. The apm agent is not starting. If i not using this config. Its starting](https://discuss.elastic.co/t/if-i-use-log-file-config-the-apm-agent-is-not-starting-if-i-not-using-this-config-its-starting/332619)

<div class="topic-metadata">

**Author:** [@Stephen\_Joseph](https://discuss.elastic.co/u/Stephen_Joseph)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 3:15am UTC](https://discuss.elastic.co/t/if-i-use-log-file-config-the-apm-agent-is-not-starting-if-i-not-using-this-config-its-starting/332619 "2023-05-08T03:15:08Z")

</div>

APM Server: 8.5.0 Elastic search:8.5.0 Kibana:8.5.0 apm agent: 1.38.0 elasticapm.properties:- recording: true enabled: true server\_urls: http://apm-server.logging.svc.cluster.local:8200 service\_name: test-app log\_fi…

---

## [ECK 8.7.1 elastic agent error](https://discuss.elastic.co/t/eck-8-7-1-elastic-agent-error/332625)

<div class="topic-metadata">

**Author:** [@khteh](https://discuss.elastic.co/u/khteh)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 3:11am UTC](https://discuss.elastic.co/t/eck-8-7-1-elastic-agent-error/332625 "2023-05-08T03:11:43Z")

</div>

Following Quickstart | Elastic Cloud on Kubernetes \[2.7\] | Elastic to install and run ECK fleet on my EKS but observe the following error in the agent logs: \[elastic-agent-agent-gdpzn\] {"log.level":"info","@timestamp":"…

---

## [Migrate snapshot repository](https://discuss.elastic.co/t/migrate-snapshot-repository/332510)

<div class="topic-metadata">

**Author:** [@anon90868141](https://discuss.elastic.co/u/anon90868141)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 3:01am UTC](https://discuss.elastic.co/t/migrate-snapshot-repository/332510 "2023-05-08T03:01:02Z")

</div>

Hello, I backuped my data into a nfs share and now received a bigger one, so I have to migrate the old snapshot repository into the new nfs share because I want to keep the data. Can I just copy the files from the moun…

---

## [Understanding node.max\_local\_storage\_nodes?](https://discuss.elastic.co/t/understanding-node-max-local-storage-nodes/332682)

<div class="topic-metadata">

**Author:** [@lakh](https://discuss.elastic.co/u/lakh)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 2:51am UTC](https://discuss.elastic.co/t/understanding-node-max-local-storage-nodes/332682 "2023-05-08T02:51:05Z")

</div>

Hi, my setup is that I have multiple people running their own docker containers on different machines that have access to shared storage. I've put the elasticsearch- folder in that shared location (so the /data/index fol…

---

## [Why traffic between filebeat and elasticsearch contains “Apache Struts2 OGNL Remote Code Execution Vulnerability”](https://discuss.elastic.co/t/why-traffic-between-filebeat-and-elasticsearch-contains-apache-struts2-ognl-remote-code-execution-vulnerability/332505)

<div class="topic-metadata">

**Author:** [@wlane](https://discuss.elastic.co/u/wlane)\
**Replies:** 3\
**Last updated:** [May 8, 2023, 2:44am UTC](https://discuss.elastic.co/t/why-traffic-between-filebeat-and-elasticsearch-contains-apache-struts2-ognl-remote-code-execution-vulnerability/332505 "2023-05-08T02:44:07Z")

</div>

Hi guys, We used Filebeat to send application logs to Elasticsearch. And these two components are deployed in different environments with firewall PaloAlto in between. We found that after transmitting for a period of t…

---

## [Cross cluster search question](https://discuss.elastic.co/t/cross-cluster-search-question/332439)

<div class="topic-metadata">

**Author:** [@elastic\_user4](https://discuss.elastic.co/u/elastic_user4)\
**Replies:** 1\
**Last updated:** [May 7, 2023, 10:45pm UTC](https://discuss.elastic.co/t/cross-cluster-search-question/332439 "2023-05-07T22:45:30Z")

</div>

Hello, I have 3 clusters in my infrastructure and I wanted to know if it was possible to transfer data from the index of these clusters using cross cluster search. Or is there another way to transfer data. I am using the…

---

## [409 conflict](https://discuss.elastic.co/t/409-conflict/332457)

<div class="topic-metadata">

**Author:** [@searchwithme](https://discuss.elastic.co/u/searchwithme)\
**Replies:** 1\
**Last updated:** [May 7, 2023, 10:44pm UTC](https://discuss.elastic.co/t/409-conflict/332457 "2023-05-07T22:44:49Z")

</div>

If I have 100 indexing requests in a bulk, and 2 requests are updating the same document, will a 409 be thrown?

---

## [Elastic Cloud - Elastic Security EDR/XDR](https://discuss.elastic.co/t/elastic-cloud-elastic-security-edr-xdr/332731)

<div class="topic-metadata">

**Author:** [@Lelc79](https://discuss.elastic.co/u/Lelc79)\
**Replies:** 0\
**Last updated:** [May 6, 2023, 9:56pm UTC](https://discuss.elastic.co/t/elastic-cloud-elastic-security-edr-xdr/332731 "2023-05-06T21:56:59Z")

</div>

I want to configure 200 Endpoints with Windows 10/11 in elastic cloud with Enterprise license, to be able to use Elastic Security. ¿What would be the appropriate configuration to be able to calculate the costs?

---

## [How to make elasticsearch.keystore persistent?](https://discuss.elastic.co/t/how-to-make-elasticsearch-keystore-persistent/332530)

<div class="topic-metadata">

**Author:** [@daniela09](https://discuss.elastic.co/u/daniela09)\
**Replies:** 3\
**Last updated:** [May 7, 2023, 10:16pm UTC](https://discuss.elastic.co/t/how-to-make-elasticsearch-keystore-persistent/332530 "2023-05-07T22:16:46Z")

</div>

Hi, I am running elasticsearch cluster on Kubernetes cluster. The passwords I have generated for build-in-users like kibana\_system and elastic are changed after restart of the elasticsearch node. I am trying to find a wa…

---

## [Upgrade Elasticsearch from 6.8 to 7](https://discuss.elastic.co/t/upgrade-elasticsearch-from-6-8-to-7/332767)

<div class="topic-metadata">

**Author:** [@Chirag\_Poddar](https://discuss.elastic.co/u/Chirag_Poddar)\
**Replies:** 1\
**Last updated:** [May 7, 2023, 7:16pm UTC](https://discuss.elastic.co/t/upgrade-elasticsearch-from-6-8-to-7/332767 "2023-05-07T19:16:26Z")

</div>

We have 7 ES clusters (each having 3 nodes) running in production on the 6.8 version. We are planning to upgrade them to 7 and then eventually to 8. We have 2 options Upgrade versions on node one by one (rolling upgrad…

---

## [org.elasticsearch.client.ResponseException while creating index](https://discuss.elastic.co/t/org-elasticsearch-client-responseexception-while-creating-index/332706)

<div class="topic-metadata">

**Author:** [@Keerthy\_Ar](https://discuss.elastic.co/u/Keerthy_Ar)\
**Replies:** 5\
**Last updated:** [May 7, 2023, 6:45pm UTC](https://discuss.elastic.co/t/org-elasticsearch-client-responseexception-while-creating-index/332706 "2023-05-07T18:45:43Z")

</div>

I am trying to create index with High Rest Client, version 7.17.10 String mappingSource = "{"mappings":{"properties":{"name":{"type":"text"},"age":{"type":"integer"}}}}"; CreateIndexRequest request = new CreateIndexReq…

---

## [Java virtuale machine error while starting elasticsearch service](https://discuss.elastic.co/t/java-virtuale-machine-error-while-starting-elasticsearch-service/332769)

<div class="topic-metadata">

**Author:** [@khadija70](https://discuss.elastic.co/u/khadija70)\
**Replies:** 1\
**Last updated:** [May 7, 2023, 6:43pm UTC](https://discuss.elastic.co/t/java-virtuale-machine-error-while-starting-elasticsearch-service/332769 "2023-05-07T18:43:58Z")

</div>

Hi , We have an error related to starting Elasticsearch service on one of elasticsearch data servers related to creation of java vertuel machie , the error is attached . Could you please provide helps

---

## [Kibana Server is getting restarted when adding index based Search engine](https://discuss.elastic.co/t/kibana-server-is-getting-restarted-when-adding-index-based-search-engine/332725)

<div class="topic-metadata">

**Author:** [@Disha\_Bodade](https://discuss.elastic.co/u/Disha_Bodade)\
**Replies:** 1\
**Last updated:** [May 7, 2023, 5:13am UTC](https://discuss.elastic.co/t/kibana-server-is-getting-restarted-when-adding-index-based-search-engine/332725 "2023-05-07T05:13:01Z")

</div>

We have big elastic cluster with 48 data nodes, 3 master nodes Arround 20000 shards in cluster. Now As per new requirement, I have setup enterprise search and crawled data with elastic web crawler. When I am trying to…

---

## [UNABLE\_TO\_INSTALL\_ELK\_STACK\_WINDOWS](https://discuss.elastic.co/t/unable-to-install-elk-stack-windows/332697)

<div class="topic-metadata">

**Author:** [@naman\_marria](https://discuss.elastic.co/u/naman_marria)\
**Replies:** 6\
**Last updated:** [May 6, 2023, 4:07pm UTC](https://discuss.elastic.co/t/unable-to-install-elk-stack-windows/332697 "2023-05-06T16:07:00Z")

</div>

Unable to access Elasticsearch on WINDOWS : My Elasticsearch successfully installs and generates enrollment id along with rest of the credentials but it is not accessible on port 9200 or 9300. I have not edited the yml f…

---

## [How to do Composite Aggregation with Multiple Term Aggregation in new Java Client](https://discuss.elastic.co/t/how-to-do-composite-aggregation-with-multiple-term-aggregation-in-new-java-client/332696)

<div class="topic-metadata">

**Author:** [@varun1992](https://discuss.elastic.co/u/varun1992)\
**Replies:** 0\
**Last updated:** [May 6, 2023, 6:56am UTC](https://discuss.elastic.co/t/how-to-do-composite-aggregation-with-multiple-term-aggregation-in-new-java-client/332696 "2023-05-06T06:56:05Z")

</div>

I am getting error when giving multiple term aggregation in composite aggregation sources \[es/search\] failed: \[x\_content\_parse\_exception\] \[1:177\] \[composite\] failed to parse field \[sources\] my code as below …

---

## [The cluster PHASE keep Invalid when I upgrade es cluster from 7.9 to 7.10](https://discuss.elastic.co/t/the-cluster-phase-keep-invalid-when-i-upgrade-es-cluster-from-7-9-to-7-10/332639)

<div class="topic-metadata">

**Author:** [@goodboyryan008](https://discuss.elastic.co/u/goodboyryan008)\
**Replies:** 1\
**Last updated:** [May 6, 2023, 6:43am UTC](https://discuss.elastic.co/t/the-cluster-phase-keep-invalid-when-i-upgrade-es-cluster-from-7-9-to-7-10/332639 "2023-05-06T06:43:44Z")

</div>

hey, budies, i have no idea which thing goes wrong. any ideas # Source: eck-operator-crds/templates/all-crds.yaml apiVersion: elasticsearch.k8s.elastic.co/v1 kind: Elasticsearch metadata: name: es7-cluster namespac…

---

## [Datehistogram Composite Agg Sort Error in new Java Client](https://discuss.elastic.co/t/datehistogram-composite-agg-sort-error-in-new-java-client/332695)

<div class="topic-metadata">

**Author:** [@varun1992](https://discuss.elastic.co/u/varun1992)\
**Replies:** 0\
**Last updated:** [May 6, 2023, 6:27am UTC](https://discuss.elastic.co/t/datehistogram-composite-agg-sort-error-in-new-java-client/332695 "2023-05-06T06:27:19Z")

</div>

I am getting error when giving sort in Datehistogram composite agg \[es/search\] failed: \[x\_content\_parse\_exception\] \[1:186\] \[composite\] failed to parse field \[sources\] my code as below Map\<String, CompositeAggregationS…

---

## [Create autocomplete query](https://discuss.elastic.co/t/create-autocomplete-query/332693)

<div class="topic-metadata">

**Author:** [@Khaled\_Omara](https://discuss.elastic.co/u/Khaled_Omara)\
**Replies:** 0\
**Last updated:** [May 6, 2023, 5:22am UTC](https://discuss.elastic.co/t/create-autocomplete-query/332693 "2023-05-06T05:22:52Z")

</div>

Here is my indices mapping: { "mappings": { "properties": { "categories": { "type": "text", "analyzer": "standard" }, "color": { "type": "text", "analyzer": "stand…

---

## [Reset similarity on an index](https://discuss.elastic.co/t/reset-similarity-on-an-index/332652)

<div class="topic-metadata">

**Author:** [@slayer](https://discuss.elastic.co/u/slayer)\
**Replies:** 2\
**Last updated:** [May 6, 2023, 3:53am UTC](https://discuss.elastic.co/t/reset-similarity-on-an-index/332652 "2023-05-06T03:53:49Z")

</div>

Hi all, I have changed the default similarity from BM25 to scripted similarity on one of my indices. Now If I try to change it back to BM25, I am facing an error: Unknown settings for similarity of type \[BM25\]: \[scri…

---

## [\[Packetbeat\] bpf\_filter setting does not work in packetbeat 8.x.](https://discuss.elastic.co/t/packetbeat-bpf-filter-setting-does-not-work-in-packetbeat-8-x/332622)

<div class="topic-metadata">

**Author:** [@md-irohas](https://discuss.elastic.co/u/md-irohas)\
**Replies:** 2\
**Last updated:** [May 6, 2023, 2:08am UTC](https://discuss.elastic.co/t/packetbeat-bpf-filter-setting-does-not-work-in-packetbeat-8-x/332622 "2023-05-06T02:08:17Z")

</div>

I am using packetbeat (v8.7.0) in my home network and find that the packetbeat.interfaces.bpf\_filter setting in packetbeat.yml does not work. I read the source code and find that the bpf\_filter value is not addressed co…

---

## [Problem with the size of the circles in Map](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570)

<div class="topic-metadata">

**Author:** [@Phildefer](https://discuss.elastic.co/u/Phildefer)\
**Replies:** 6\
**Last updated:** [May 5, 2023, 11:06pm UTC](https://discuss.elastic.co/t/problem-with-the-size-of-the-circles-in-map/332570 "2023-05-05T23:06:21Z")

</div>

I don't understand how Kibana manages the size of proportional circles in Map. For example I want to map data with a proportional circle linked to a variable (fatalities) so I know that the maximum value is 136. My prob…

---

## [What is the replacment for HighLevelRestClient SearchHit.getSortValues() in the Java API Client?](https://discuss.elastic.co/t/what-is-the-replacment-for-highlevelrestclient-searchhit-getsortvalues-in-the-java-api-client/332676)

<div class="topic-metadata">

**Author:** [@kayld](https://discuss.elastic.co/u/kayld)\
**Replies:** 1\
**Last updated:** [May 5, 2023, 7:43pm UTC](https://discuss.elastic.co/t/what-is-the-replacment-for-highlevelrestclient-searchhit-getsortvalues-in-the-java-api-client/332676 "2023-05-05T19:43:09Z")

</div>

The HighLevelRestClient has a method in SearchHit class called getSortValues(). In converting to the Java API Client I cannot find a replacement or way to get the same information. How would I go about getting the sor…

---

## [IndexSettings SettingsSimilarity api spec wrong?](https://discuss.elastic.co/t/indexsettings-settingssimilarity-api-spec-wrong/332673)

<div class="topic-metadata">

**Author:** [@selckin1](https://discuss.elastic.co/u/selckin1)\
**Replies:** 0\
**Last updated:** [May 5, 2023, 5:32pm UTC](https://discuss.elastic.co/t/indexsettings-settingssimilarity-api-spec-wrong/332673 "2023-05-05T17:32:11Z")

</div>

In the documentation here you can specify an id/name for the similarity such as 'my\_similarity' But this seems to not be possible in the java api client or in the api spec Am i missing something, or is the api wrong?

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

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