# Latest

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

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

**Page:** 333

---

## [In the future we are moving Dev servers to the production cluster. The data currently in the dev-cluster for these servers not available in prod. We need to copy indices from dev to prod. How we can achieve we need only those development indices to prod?](https://discuss.elastic.co/t/in-the-future-we-are-moving-dev-servers-to-the-production-cluster-the-data-currently-in-the-dev-cluster-for-these-servers-not-available-in-prod-we-need-to-copy-indices-from-dev-to-prod-how-we-can-achieve-we-need-only-those-development-indices-to-prod/358905)

<div class="topic-metadata">

**Author:** [@Puneeth1](https://discuss.elastic.co/u/Puneeth1)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 8:45am UTC](https://discuss.elastic.co/t/in-the-future-we-are-moving-dev-servers-to-the-production-cluster-the-data-currently-in-the-dev-cluster-for-these-servers-not-available-in-prod-we-need-to-copy-indices-from-dev-to-prod-how-we-can-achieve-we-need-only-those-development-indices-to-prod/358905 "2024-05-07T08:45:46Z")

</div>

Hi . Can anyone guide how we can achieve as mentioned in the description

---

## [Start logstash on docker -\> Could not find or load main class org](https://discuss.elastic.co/t/start-logstash-on-docker-could-not-find-or-load-main-class-org/358906)

<div class="topic-metadata">

**Author:** [@INS](https://discuss.elastic.co/u/INS)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 8:43am UTC](https://discuss.elastic.co/t/start-logstash-on-docker-could-not-find-or-load-main-class-org/358906 "2024-05-07T08:43:06Z")

</div>

Hi I'm struggling the case after upgrade from logstash 8.2.1 to 8.13.3 with Using bundled JDK: /usr/share/logstash/jdk Error: Could not find or load main class org.logstash.launchers.JvmOptionsParser Caused by: java.l…

---

## [Suggest? Move (Not copy) large volume (around 100m) data from one index to another](https://discuss.elastic.co/t/suggest-move-not-copy-large-volume-around-100m-data-from-one-index-to-another/358902)

<div class="topic-metadata">

**Author:** [@samadna](https://discuss.elastic.co/u/samadna)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 8:21am UTC](https://discuss.elastic.co/t/suggest-move-not-copy-large-volume-around-100m-data-from-one-index-to-another/358902 "2024-05-07T08:21:02Z")

</div>

One Time Requirement to move unwanted data (around 200mi) from a large (500mi) index based on certain filter criteria to another (New) index. We are planning to write java code as below. Group certain list of ids and …

---

## [Help in migrating java client code 7x to 8x](https://discuss.elastic.co/t/help-in-migrating-java-client-code-7x-to-8x/358166)

<div class="topic-metadata">

**Author:** [@sinugaud](https://discuss.elastic.co/u/sinugaud)\
**Replies:** 3\
**Last updated:** [May 7, 2024, 8:07am UTC](https://discuss.elastic.co/t/help-in-migrating-java-client-code-7x-to-8x/358166 "2024-05-07T08:07:12Z")

</div>

I have written java code in Spring boot using elasticsearch-rest-high-level-client 7.17.4 now I want to migrate to elastic-search 8 how I can write term query SearchRequest searchRequest = new SearchRequest(ZE…

---

## [Reindexing with inflight indexing](https://discuss.elastic.co/t/reindexing-with-inflight-indexing/358897)

<div class="topic-metadata">

**Author:** [@post90](https://discuss.elastic.co/u/post90)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 7:11am UTC](https://discuss.elastic.co/t/reindexing-with-inflight-indexing/358897 "2024-05-07T07:11:57Z")

</div>

Is there a way to index data in destination index as well while doing remapping (source\_idx -\> destination\_idx) of an index? We could re-index the data between the two once more after switching the alias but that is not …

---

## [How does elasticsearch calculates clauses of a query?](https://discuss.elastic.co/t/how-does-elasticsearch-calculates-clauses-of-a-query/358895)

<div class="topic-metadata">

**Author:** [@Aditya\_Teltia](https://discuss.elastic.co/u/Aditya_Teltia)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 6:31am UTC](https://discuss.elastic.co/t/how-does-elasticsearch-calculates-clauses-of-a-query/358895 "2024-05-07T06:31:40Z")

</div>

Hello everyone, Hope you are doing good. How does elasticsearch clauses of a query? Which it eventually compares with max\_clause\_count and throws an RuntimeException if query exceeds maxClauseCount. I understand how i…

---

## [Drop event doesnt drop any](https://discuss.elastic.co/t/drop-event-doesnt-drop-any/358894)

<div class="topic-metadata">

**Author:** [@ninab](https://discuss.elastic.co/u/ninab)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 6:17am UTC](https://discuss.elastic.co/t/drop-event-doesnt-drop-any/358894 "2024-05-07T06:17:18Z")

</div>

I am trying to config elastic-agent.yml to drop some events using processors but not filtering occures. Please advise: type: windows/metrics data\_stream.namespace: default use\_output: default period: 60s streams: m…

---

## [Max\_shards\_per\_node best practice](https://discuss.elastic.co/t/max-shards-per-node-best-practice/358622)

<div class="topic-metadata">

**Author:** [@Frances\_Chu](https://discuss.elastic.co/u/Frances_Chu)\
**Replies:** 3\
**Last updated:** [May 7, 2024, 3:47am UTC](https://discuss.elastic.co/t/max-shards-per-node-best-practice/358622 "2024-05-07T03:47:38Z")

</div>

By default the cluster.max\_shards\_per\_node is 1000. I would like to increase the value. Any impact to the system. How to determine the best value of cluster.max\_shards\_per\_node?

---

## [When using logstash to consume binary data, some bytes are replaced with ef bf bd](https://discuss.elastic.co/t/when-using-logstash-to-consume-binary-data-some-bytes-are-replaced-with-ef-bf-bd/358797)

<div class="topic-metadata">

**Author:** [@imdong](https://discuss.elastic.co/u/imdong)\
**Replies:** 3\
**Last updated:** [May 7, 2024, 3:12am UTC](https://discuss.elastic.co/t/when-using-logstash-to-consume-binary-data-some-bytes-are-replaced-with-ef-bf-bd/358797 "2024-05-07T03:12:56Z")

</div>

The original data is avro data, but only plain =\> { charset =\> "BINARY" } is used for debugging to reduce interference. avro data original (hexadecimal) 00000000: 00 80 40 00 cc e1 85 98 0e 00 3a 32 30 32 34 2d ..@...…

---

## [Canvas Expression failures](https://discuss.elastic.co/t/canvas-expression-failures/358489)

<div class="topic-metadata">

**Author:** [@Ercan\_OLMEZ](https://discuss.elastic.co/u/Ercan_OLMEZ)\
**Replies:** 2\
**Last updated:** [May 7, 2024, 2:09am UTC](https://discuss.elastic.co/t/canvas-expression-failures/358489 "2024-05-07T02:09:02Z")

</div>

Hi, While using kibana canvas we are facing this error "Expression failed with the message: \[essql\] \> Unexpected error from Elasticsearch: search\_phase\_execution\_exception - Partial shards failure" i dont know why…

---

## [Kstem not giving the expected results](https://discuss.elastic.co/t/kstem-not-giving-the-expected-results/358885)

<div class="topic-metadata">

**Author:** [@Mohan\_T](https://discuss.elastic.co/u/Mohan_T)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 1:46am UTC](https://discuss.elastic.co/t/kstem-not-giving-the-expected-results/358885 "2024-05-07T01:46:45Z")

</div>

am using kstem due to this am not getting the proper results. Ex: In \_analyze Query: { "tokenizer": "standard", "filter": \[ "kstem" \], "text": "marbles" } in response, I am getting below { …

---

## [Look back time and maxspan in eql](https://discuss.elastic.co/t/look-back-time-and-maxspan-in-eql/358874)

<div class="topic-metadata">

**Author:** [@Esha](https://discuss.elastic.co/u/Esha)\
**Replies:** 1\
**Last updated:** [May 7, 2024, 1:24am UTC](https://discuss.elastic.co/t/look-back-time-and-maxspan-in-eql/358874 "2024-05-07T01:24:28Z")

</div>

Hi, Need some kind help. Do i need to schedule 1 hour look back time if im using maxspan=1hour to trace sequence of events in eql? Thank you

---

## [Elasticsearch 8.12 Error when tryng to generate a report using curl and an URL given by Discovery tool](https://discuss.elastic.co/t/elasticsearch-8-12-error-when-tryng-to-generate-a-report-using-curl-and-an-url-given-by-discovery-tool/358734)

<div class="topic-metadata">

**Author:** [@RobertC1](https://discuss.elastic.co/u/RobertC1)\
**Replies:** 13\
**Last updated:** [May 7, 2024, 12:42am UTC](https://discuss.elastic.co/t/elasticsearch-8-12-error-when-tryng-to-generate-a-report-using-curl-and-an-url-given-by-discovery-tool/358734 "2024-05-07T00:42:32Z")

</div>

Hi guys. I am tryng to generate a csv report using the following command curl -uelastic:xxxxxx -X POST \\ \> -H "kbn-xsrf: true" \\ "from": "now-12h" }, \> -H "Content-Type: application/json" \\ --cacert…

---

## [On-prem eck cluster disconnects after a couple hours and can't be reconnected](https://discuss.elastic.co/t/on-prem-eck-cluster-disconnects-after-a-couple-hours-and-cant-be-reconnected/358878)

<div class="topic-metadata">

**Author:** [@Greyson](https://discuss.elastic.co/u/Greyson)\
**Replies:** 0\
**Last updated:** [May 6, 2024, 11:11pm UTC](https://discuss.elastic.co/t/on-prem-eck-cluster-disconnects-after-a-couple-hours-and-cant-be-reconnected/358878 "2024-05-06T23:11:48Z")

</div>

My company uses elastic and I wanted to get more familiar with it so I spun up a k3's cluster in my homelab and have been trying to get it working for the last couple weeks but it keeps having issues. My setup is as fol…

---

## [How to set a Managed pipeline in a new Crawler index](https://discuss.elastic.co/t/how-to-set-a-managed-pipeline-in-a-new-crawler-index/358876)

<div class="topic-metadata">

**Author:** [@freddyrb](https://discuss.elastic.co/u/freddyrb)\
**Replies:** 0\
**Last updated:** [May 6, 2024, 10:29pm UTC](https://discuss.elastic.co/t/how-to-set-a-managed-pipeline-in-a-new-crawler-index/358876 "2024-05-06T22:29:10Z")

</div>

Hey community! Maybe it's a silly question, but I need to understand (and solve) why a newly created index, has no "Managed" default pipeline as there is in another existing index. How to make the "search-testindex1" pip…

---

## [Extend my Lab which ends today 5/6 @ 7pm](https://discuss.elastic.co/t/extend-my-lab-which-ends-today-5-6-7pm/358870)

<div class="topic-metadata">

**Author:** [@ericatwood](https://discuss.elastic.co/u/ericatwood)\
**Replies:** 0\
**Last updated:** [May 6, 2024, 7:45pm UTC](https://discuss.elastic.co/t/extend-my-lab-which-ends-today-5-6-7pm/358870 "2024-05-06T19:45:32Z")

</div>

Hello, Thank you for reaching out. As a one time exception we are extending the 90 days of access to expire on May 20th. Please complete your learning and download any desired content prior to this date. If you would…

---

## [History of updates modeling](https://discuss.elastic.co/t/history-of-updates-modeling/358865)

<div class="topic-metadata">

**Author:** [@hafssa\_askaoui](https://discuss.elastic.co/u/hafssa_askaoui)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 7:15pm UTC](https://discuss.elastic.co/t/history-of-updates-modeling/358865 "2024-05-06T19:15:58Z")

</div>

I'm newbie to Elasticsearch and I'm wondering about the best way to model this requirement in Elasticsearch: we need to keep the modification history of an object like this: example{ id; name; type; } So far, we've…

---

## [React with elastic search api connector returns all documents](https://discuss.elastic.co/t/react-with-elastic-search-api-connector-returns-all-documents/358863)

<div class="topic-metadata">

**Author:** [@Gordon\_Vidaver](https://discuss.elastic.co/u/Gordon_Vidaver)\
**Replies:** 0\
**Last updated:** [May 6, 2024, 4:59pm UTC](https://discuss.elastic.co/t/react-with-elastic-search-api-connector-returns-all-documents/358863 "2024-05-06T16:59:08Z")

</div>

I'm using the react-search-ui library and the ElasticsearchAPIConnector. If I type in a search term, I get all the documents in the index back, sorted with the hits at the top. In the examples it only returns the documen…

---

## [Question in Node Configuration](https://discuss.elastic.co/t/question-in-node-configuration/358779)

<div class="topic-metadata">

**Author:** [@hossa](https://discuss.elastic.co/u/hossa)\
**Replies:** 2\
**Last updated:** [May 6, 2024, 4:43pm UTC](https://discuss.elastic.co/t/question-in-node-configuration/358779 "2024-05-06T16:43:57Z")

</div>

Hello I have a cluster consisting of 3 nodes, one of which I want to be for reading and the other for writing How can I do that?

---

## [Plugin installation](https://discuss.elastic.co/t/plugin-installation/358679)

<div class="topic-metadata">

**Author:** [@Honestabe](https://discuss.elastic.co/u/Honestabe)\
**Replies:** 4\
**Last updated:** [May 6, 2024, 3:47pm UTC](https://discuss.elastic.co/t/plugin-installation/358679 "2024-05-06T15:47:02Z")

</div>

Is there a way to specify the directory to install the plugin to? Our home directory of logstash is not in /usr/share/logstash or the /etc/logstash. I have ran the install command but i am not sure if it was installed i…

---

## [Data insert/update in new index fields](https://discuss.elastic.co/t/data-insert-update-in-new-index-fields/358850)

<div class="topic-metadata">

**Author:** [@akashvermag](https://discuss.elastic.co/u/akashvermag)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 3:28pm UTC](https://discuss.elastic.co/t/data-insert-update-in-new-index-fields/358850 "2024-05-06T15:28:36Z")

</div>

Hi, i have my Elasticsearch 7.17 installed, where i have multiple indexes with data in them. now, i want to update those indexes with new mappings & settings, and i also want that new field is present when i run searc…

---

## [Anomaly detection](https://discuss.elastic.co/t/anomaly-detection/358048)

<div class="topic-metadata">

**Author:** [@zi\_ninja](https://discuss.elastic.co/u/zi_ninja)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 3:22pm UTC](https://discuss.elastic.co/t/anomaly-detection/358048 "2024-05-06T15:22:59Z")

</div>

In machine learning anomaly detection, can I set my own rules for detection? Example: I want to detect a computer. Normally this computer accesses many different IP addresses, but suddenly one day this computer accesses…

---

## [Adding Cold Nodes to Existing Cluster](https://discuss.elastic.co/t/adding-cold-nodes-to-existing-cluster/358855)

<div class="topic-metadata">

**Author:** [@Manal\_A](https://discuss.elastic.co/u/Manal_A)\
**Replies:** 2\
**Last updated:** [May 6, 2024, 3:20pm UTC](https://discuss.elastic.co/t/adding-cold-nodes-to-existing-cluster/358855 "2024-05-06T15:20:48Z")

</div>

Hello, I already have a cluster containing hot and master nodes, and I want to add 4 Cold nodes. Do I need a license for this, and what are the steps to follow? Thank you

---

## [Upper and lower bounds](https://discuss.elastic.co/t/upper-and-lower-bounds/357866)

<div class="topic-metadata">

**Author:** [@zi\_ninja](https://discuss.elastic.co/u/zi_ninja)\
**Replies:** 3\
**Last updated:** [May 6, 2024, 3:16pm UTC](https://discuss.elastic.co/t/upper-and-lower-bounds/357866 "2024-05-06T15:16:39Z")

</div>

I created a job in machine learning anomaly detection elastic, I used the sum function, I looked at the results in the single metric viewer and I saw some points as follows: - On what basis to calculate upper and lower …

---

## [Machine Learning score explanation](https://discuss.elastic.co/t/machine-learning-score-explanation/358424)

<div class="topic-metadata">

**Author:** [@Poukim0m](https://discuss.elastic.co/u/Poukim0m)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 3:11pm UTC](https://discuss.elastic.co/t/machine-learning-score-explanation/358424 "2024-05-06T15:11:54Z")

</div>

Hello, according to the documentation regarding machine learning jobs the machine learning score depends on the probability that is calculated for the specific metrics and there are 3 different scores (Bucket, Influence…

---

## [Load multiple tables from psql to elastic search](https://discuss.elastic.co/t/load-multiple-tables-from-psql-to-elastic-search/358804)

<div class="topic-metadata">

**Author:** [@Rajesh03](https://discuss.elastic.co/u/Rajesh03)\
**Replies:** 5\
**Last updated:** [May 6, 2024, 2:56pm UTC](https://discuss.elastic.co/t/load-multiple-tables-from-psql-to-elastic-search/358804 "2024-05-06T14:56:36Z")

</div>

I have a config file like this: input { jdbc { jdbc\_connection\_string =\> "jdbc:postgresql://localhost:5432/mydb" jdbc\_user =\> "postgres" jdbc\_driver\_library =\> "/path/to/postgresql-9.4-1201.j…

---

## [Elasticsearch Java Client (8.13.2) building a zero result reponse](https://discuss.elastic.co/t/elasticsearch-java-client-8-13-2-building-a-zero-result-reponse/357704)

<div class="topic-metadata">

**Author:** [@SvenS4342](https://discuss.elastic.co/u/SvenS4342)\
**Replies:** 2\
**Last updated:** [May 6, 2024, 2:18pm UTC](https://discuss.elastic.co/t/elasticsearch-java-client-8-13-2-building-a-zero-result-reponse/357704 "2024-05-06T14:18:15Z")

</div>

Hello, for a use-case I'm creating I want to build a SearchResponse similar to a response which did not retrieve any matched documents. co.elastic.clients.elasticsearch.core.SearchResponse.of(r -\> r .aggregations(Ap…

---

## [Connection pool in elasticsearch kibana](https://discuss.elastic.co/t/connection-pool-in-elasticsearch-kibana/358736)

<div class="topic-metadata">

**Author:** [@navya\_k](https://discuss.elastic.co/u/navya_k)\
**Replies:** 4\
**Last updated:** [May 6, 2024, 1:52pm UTC](https://discuss.elastic.co/t/connection-pool-in-elasticsearch-kibana/358736 "2024-05-06T13:52:06Z")

</div>

Hello, Good day. Need help on connection pooling. We have onboard application of type Java and dependency with mango DB. Successfully sending APM and transaction data to elastic from application. Able to view data in …

---

## [What's the meaning of the underscore in the java api's methods, e.g., \_toQuery()](https://discuss.elastic.co/t/whats-the-meaning-of-the-underscore-in-the-java-apis-methods-e-g-toquery/358149)

<div class="topic-metadata">

**Author:** [@buitcj](https://discuss.elastic.co/u/buitcj)\
**Replies:** 1\
**Last updated:** [May 6, 2024, 1:32pm UTC](https://discuss.elastic.co/t/whats-the-meaning-of-the-underscore-in-the-java-apis-methods-e-g-toquery/358149 "2024-05-06T13:32:06Z")

</div>

\_toQuery() is a public method that's used in examples on public docs (like Searching for documents | Elasticsearch Java API Client \[8.13\] | Elastic), so the method isn't internal - something the underscore sometimes repr…

---

## [TSVB calcul taux de croissance](https://discuss.elastic.co/t/tsvb-calcul-taux-de-croissance/358835)

<div class="topic-metadata">

**Author:** [@OlivierFournie](https://discuss.elastic.co/u/OlivierFournie)\
**Replies:** 0\
**Last updated:** [May 6, 2024, 1:17pm UTC](https://discuss.elastic.co/t/tsvb-calcul-taux-de-croissance/358835 "2024-05-06T13:17:29Z")

</div>

Bonjour, je souhaiterais calculer le taux de croissance entre les années 2024 et 2023. Pouvez vous m'aider svp?

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

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