# Latest

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

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

**Page:** 915

---

## [Failed to connect to Elasticsearch backend. Make sure it is running](https://discuss.elastic.co/t/failed-to-connect-to-elasticsearch-backend-make-sure-it-is-running/234801)

<div class="topic-metadata">

**Author:** [@mbrimmer83](https://discuss.elastic.co/u/mbrimmer83)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 12:14pm UTC](https://discuss.elastic.co/t/failed-to-connect-to-elasticsearch-backend-make-sure-it-is-running/234801 "2020-06-05T12:14:10Z")

</div>

I am having trouble connecting App Search to Elasticsearch locally for development. I am running Elasticsearch 7.6.2 (docker pull docker.elastic.co/elasticsearch/elasticsearch:7.6.2) and have connected Kibana 7.6.2 (doc…

---

## [Migrating to Enterprise Search - No compatible templates found](https://discuss.elastic.co/t/migrating-to-enterprise-search-no-compatible-templates-found/237858)

<div class="topic-metadata">

**Author:** [@coding\_martian](https://discuss.elastic.co/u/coding_martian)\
**Replies:** 5\
**Last updated:** [July 16, 2020, 3:43pm UTC](https://discuss.elastic.co/t/migrating-to-enterprise-search-no-compatible-templates-found/237858 "2020-07-16T15:43:21Z")

</div>

I am currently running an App Search instance on Elasticsearch service. I was trying to migrate to Enterprise Search in order to upgrade to Elasticsearch 7.8. However, I'm not able to proceed beyond Step 2, as there are …

---

## [ElasticSearch Failed to build \[request\] after last required field arrived](https://discuss.elastic.co/t/elasticsearch-failed-to-build-request-after-last-required-field-arrived/317364)

<div class="topic-metadata">

**Author:** [@akshay-atam](https://discuss.elastic.co/u/akshay-atam)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 2:25am UTC](https://discuss.elastic.co/t/elasticsearch-failed-to-build-request-after-last-required-field-arrived/317364 "2022-10-31T02:25:33Z")

</div>

---

## [Best practice on data ingestion methods](https://discuss.elastic.co/t/best-practice-on-data-ingestion-methods/317484)

<div class="topic-metadata">

**Author:** [@Boemo2023](https://discuss.elastic.co/u/Boemo2023)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 2:24am UTC](https://discuss.elastic.co/t/best-practice-on-data-ingestion-methods/317484 "2022-10-31T02:24:23Z")

</div>

I currently have a self managed elasticsearch cluster that up until now I have just been feeding with data via HTTP POSTs (to port 9200) to specific indexes from various servers. I'm now in the process of setting up bea…

---

## [Elastic Agent Might Not Be Running](https://discuss.elastic.co/t/elastic-agent-might-not-be-running/317535)

<div class="topic-metadata">

**Author:** [@bigverm23](https://discuss.elastic.co/u/bigverm23)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 2:21am UTC](https://discuss.elastic.co/t/elastic-agent-might-not-be-running/317535 "2022-10-31T02:21:45Z")

</div>

{"log.level":"info","@timestamp":"2022-10-26T10:03:34.190-0400","log.origin":{"file.name":"cmd/enroll\_cmd.go","file.line":271},"message":"Elastic Agent might not be running; unable to trigger restart","ecs.version":"1.6.…

---

## [Error: Could not create the Java Virtual Machine. ES won't start](https://discuss.elastic.co/t/error-could-not-create-the-java-virtual-machine-es-wont-start/317581)

<div class="topic-metadata">

**Author:** [@rrrrrrrrrrr](https://discuss.elastic.co/u/rrrrrrrrrrr)\
**Replies:** 2\
**Last updated:** [October 31, 2022, 2:20am UTC](https://discuss.elastic.co/t/error-could-not-create-the-java-virtual-machine-es-wont-start/317581 "2022-10-31T02:20:44Z")

</div>

Hello, I've tried to follow this step https://discuss.elastic.co/t/elasticsearch-logs-are-getting-piled-up-in-var-log-elasticsearch-path-how-to-cater-to-this-problem/186039 to do the log rotation but when I tried to res…

---

## [Filebeat Kafka module with autodiscover](https://discuss.elastic.co/t/filebeat-kafka-module-with-autodiscover/317537)

<div class="topic-metadata">

**Author:** [@Avivl1](https://discuss.elastic.co/u/Avivl1)\
**Replies:** 0\
**Last updated:** [October 26, 2022, 2:25pm UTC](https://discuss.elastic.co/t/filebeat-kafka-module-with-autodiscover/317537 "2022-10-26T14:25:19Z")

</div>

Hi, Im trying to ship logs from Kafka cluster that hosts in Kubernetes cluster with Kafka module to Elasticsearch throw log-stash , I tried to configure my filebeat.yaml and logstash pipeline like the documentation ( we…

---

## [Accidental force merge](https://discuss.elastic.co/t/accidental-force-merge/317539)

<div class="topic-metadata">

**Author:** [@h0llym0lly](https://discuss.elastic.co/u/h0llym0lly)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 2:17am UTC](https://discuss.elastic.co/t/accidental-force-merge/317539 "2022-10-31T02:17:08Z")

</div>

Hi, I executed force merge and forgot to add index name which I want to merge... Now the task is ongoing for some time and it has description: "Force-merge indices \[\], maxSegments\[4\], onlyExpungeDeletes\[false\], flush…

---

## [Optimize elastic search performance](https://discuss.elastic.co/t/optimize-elastic-search-performance/317765)

<div class="topic-metadata">

**Author:** [@geek](https://discuss.elastic.co/u/geek)\
**Replies:** 3\
**Last updated:** [October 31, 2022, 2:10am UTC](https://discuss.elastic.co/t/optimize-elastic-search-performance/317765 "2022-10-31T02:10:23Z")

</div>

I am trying to benchmark my Elasticsearch setup by posting documents against a large schema. The two variations of schema are: indexing enabled for each attribute. indexing disabled for all the attributes. My benchmar…

---

## [Transport communication between node with opendistro and node with xpack fails](https://discuss.elastic.co/t/transport-communication-between-node-with-opendistro-and-node-with-xpack-fails/317550)

<div class="topic-metadata">

**Author:** [@Rineesh\_Nallatath](https://discuss.elastic.co/u/Rineesh_Nallatath)\
**Replies:** 4\
**Last updated:** [October 31, 2022, 2:00am UTC](https://discuss.elastic.co/t/transport-communication-between-node-with-opendistro-and-node-with-xpack-fails/317550 "2022-10-31T02:00:08Z")

</div>

We do have an elastic setup (not complete stack,but elastic clusters in two sites with CCR enabled) We want to migrate from opendistro to X-pack security also upgrade ES version from 7.3 to 7.17. We use our internal AP…

---

## [Is there any way to do automation for rollup job creation?](https://discuss.elastic.co/t/is-there-any-way-to-do-automation-for-rollup-job-creation/317767)

<div class="topic-metadata">

**Author:** [@Nitin08bisht](https://discuss.elastic.co/u/Nitin08bisht)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 1:57am UTC](https://discuss.elastic.co/t/is-there-any-way-to-do-automation-for-rollup-job-creation/317767 "2022-10-31T01:57:29Z")

</div>

Hi, I want to know that is there any way to do automation for rollup job creation? Because creation of rollup job is taking much time when we have to create jobs for taking rollup of each month data separately.

---

## [How can we get data of specific month from rollup index?](https://discuss.elastic.co/t/how-can-we-get-data-of-specific-month-from-rollup-index/317487)

<div class="topic-metadata">

**Author:** [@Nitin08bisht](https://discuss.elastic.co/u/Nitin08bisht)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 1:49am UTC](https://discuss.elastic.co/t/how-can-we-get-data-of-specific-month-from-rollup-index/317487 "2022-10-31T01:49:10Z")

</div>

Rollup index store months or years of data. And if we want specific month data from that rollup index then how we can get it from?

---

## [\[ERROR\]\[testhost\] policy \[test-data-retention\] for index \[test\_logger\_info.20221026\] failed on step \[{"phase":"hot","action":"rollover","name":"check-rollover-ready"}\]. Moving to ERROR step](https://discuss.elastic.co/t/error-testhost-policy-test-data-retention-for-index-test-logger-info-20221026-failed-on-step-phase-hot-action-rollover-name-check-rollover-ready-moving-to-error-step/317613)

<div class="topic-metadata">

**Author:** [@Tanya\_Patel](https://discuss.elastic.co/u/Tanya_Patel)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 1:47am UTC](https://discuss.elastic.co/t/error-testhost-policy-test-data-retention-for-index-test-logger-info-20221026-failed-on-step-phase-hot-action-rollover-name-check-rollover-ready-moving-to-error-step/317613 "2022-10-31T01:47:39Z")

</div>

I am getting the following error - single node/cluster setup ILM Policy Template

---

## [Why had Elastic released a complete new API with 8.0?](https://discuss.elastic.co/t/why-had-elastic-released-a-complete-new-api-with-8-0/317292)

<div class="topic-metadata">

**Author:** [@Michael\_Gattinger](https://discuss.elastic.co/u/Michael_Gattinger)\
**Replies:** 4\
**Last updated:** [October 31, 2022, 1:44am UTC](https://discuss.elastic.co/t/why-had-elastic-released-a-complete-new-api-with-8-0/317292 "2022-10-31T01:44:50Z")

</div>

Why had Elastic released a complete new API with 8.0? High Level API Client was working well. Why replacing it with Elasticsearch Java API Client? Thanks - Enomine

---

## [Indices deleted as a result of unauthorised access – how to restore?](https://discuss.elastic.co/t/indices-deleted-as-a-result-of-unauthorised-access-how-to-restore/317637)

<div class="topic-metadata">

**Author:** [@Drept](https://discuss.elastic.co/u/Drept)\
**Replies:** 2\
**Last updated:** [October 31, 2022, 1:41am UTC](https://discuss.elastic.co/t/indices-deleted-as-a-result-of-unauthorised-access-how-to-restore/317637 "2022-10-31T01:41:23Z")

</div>

As a result of compromised security, my ES server was accessed by a third party that deleted all the indices. While I can easily recreate and repopulate my own indices, there are a few that I don't know how to deal with.…

---

## [How to visualize process RAM consumption](https://discuss.elastic.co/t/how-to-visualize-process-ram-consumption/317667)

<div class="topic-metadata">

**Author:** [@augandi](https://discuss.elastic.co/u/augandi)\
**Replies:** 0\
**Last updated:** [October 28, 2022, 8:29am UTC](https://discuss.elastic.co/t/how-to-visualize-process-ram-consumption/317667 "2022-10-28T08:29:35Z")

</div>

Hi, I hope someone can help :slight\_smile: We have an use case to visualize the process RAM consumption in relation to the overall consumption. In Obeservability I can search for hosts and process.name. Example: The ov…

---

## [Can i use "date type field" more than two?](https://discuss.elastic.co/t/can-i-use-date-type-field-more-than-two/317671)

<div class="topic-metadata">

**Author:** [@hellocomputer](https://discuss.elastic.co/u/hellocomputer)\
**Replies:** 1\
**Last updated:** [October 31, 2022, 1:40am UTC](https://discuss.elastic.co/t/can-i-use-date-type-field-more-than-two/317671 "2022-10-31T01:40:11Z")

</div>

Hello I want to use a field called "timestamp" as time series data. I'm using monstache to connect mongoDB and Elasticsearch. In mostache mapping file, I set type of timestamp to "date". But, in elastic index, type of…

---

## [Elastic agent and filebeat installation in windows PC](https://discuss.elastic.co/t/elastic-agent-and-filebeat-installation-in-windows-pc/317720)

<div class="topic-metadata">

**Author:** [@subash](https://discuss.elastic.co/u/subash)\
**Replies:** 1\
**Last updated:** [October 30, 2022, 9:54pm UTC](https://discuss.elastic.co/t/elastic-agent-and-filebeat-installation-in-windows-pc/317720 "2022-10-30T21:54:59Z")

</div>

Hello, We are using Elasticsearch 7.17.4. The objective is to collect the metrics and logs from Windows PC. Currently, using Elastic agents to send the logs and metrics to Elasticsearch. In one of the use cases, we ar…

---

## [Manually insert words and occurrence into the index](https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707)

<div class="topic-metadata">

**Author:** [@Ostr1969](https://discuss.elastic.co/u/Ostr1969)\
**Replies:** 3\
**Last updated:** [October 30, 2022, 9:16pm UTC](https://discuss.elastic.co/t/manually-insert-words-and-occurrence-into-the-index/317707 "2022-10-30T21:16:27Z")

</div>

I assume that the words of each doc are shown in the index somehow. I have a table of each word and occurrences of a doc( from some other tool) . Can I insert manually the words to the index and specify their assuranc…

---

## [What's the solution of this error please?](https://discuss.elastic.co/t/whats-the-solution-of-this-error-please/317485)

<div class="topic-metadata">

**Author:** [@morad\_della3](https://discuss.elastic.co/u/morad_della3)\
**Replies:** 12\
**Last updated:** [October 30, 2022, 8:59pm UTC](https://discuss.elastic.co/t/whats-the-solution-of-this-error-please/317485 "2022-10-30T20:59:42Z")

</div>

I don't find a solution for this error anyone help me please when I try to start elasticsearch. \[ 2022-10-26T08:13:00,690\]\[WARN \]\[i.n.u.i.PlatformDependent\] \[elastic\] Failed to get the temporary directory; falling back…

---

## [Why did Elastic release Elasticsearch Java API Client to replace the old High Level Client?](https://discuss.elastic.co/t/why-did-elastic-release-elasticsearch-java-api-client-to-replace-the-old-high-level-client/317749)

<div class="topic-metadata">

**Author:** [@Michael\_Gattinger](https://discuss.elastic.co/u/Michael_Gattinger)\
**Replies:** 2\
**Last updated:** [October 30, 2022, 5:59pm UTC](https://discuss.elastic.co/t/why-did-elastic-release-elasticsearch-java-api-client-to-replace-the-old-high-level-client/317749 "2022-10-30T17:59:49Z")

</div>

Did Elastic release the ESJAC to replace the old High Level Client because of the dispute with amazon about the Amazon Elasticsearch Service to make Elasticsearch in any matter incompatible with AES? Thanks - Enomine

---

## [Performance problem with custom sort](https://discuss.elastic.co/t/performance-problem-with-custom-sort/317435)

<div class="topic-metadata">

**Author:** [@Guilherme\_Mello](https://discuss.elastic.co/u/Guilherme_Mello)\
**Replies:** 5\
**Last updated:** [October 30, 2022, 2:51pm UTC](https://discuss.elastic.co/t/performance-problem-with-custom-sort/317435 "2022-10-30T14:51:57Z")

</div>

Hello! My search page needs to have a custom sorting type. To do this sorting i need to return about 5k items from elasticsearch The problem is that this causes a serious performance problem, the application ends up c…

---

## [New indices on elastic.com](https://discuss.elastic.co/t/new-indices-on-elastic-com/317711)

<div class="topic-metadata">

**Author:** [@sportys](https://discuss.elastic.co/u/sportys)\
**Replies:** 4\
**Last updated:** [October 30, 2022, 2:32pm UTC](https://discuss.elastic.co/t/new-indices-on-elastic-com/317711 "2022-10-30T14:32:22Z")

</div>

Hello, I set up a new indices on elastic.co, I'm just trying it out, I only see connectivity through port 443 with a api key. I'm using java and spring and usually connect via port 9300. So I'm having a hard time trans…

---

## [Grokparse failure seen with tcp input plugin in logstash pipeline](https://discuss.elastic.co/t/grokparse-failure-seen-with-tcp-input-plugin-in-logstash-pipeline/317447)

<div class="topic-metadata">

**Author:** [@Arinjay\_Jain](https://discuss.elastic.co/u/Arinjay_Jain)\
**Replies:** 5\
**Last updated:** [October 30, 2022, 11:52am UTC](https://discuss.elastic.co/t/grokparse-failure-seen-with-tcp-input-plugin-in-logstash-pipeline/317447 "2022-10-30T11:52:14Z")

</div>

Hi, I have the following logstash pipeline configuration. input { tcp { port =\> 5102 codec =\> plain } } filter { grok { match =\> {"message" =\> "%{SYSLOGTIMESTAMP:time} %{DATA:trace\_n…

---

## [Index rollover not working](https://discuss.elastic.co/t/index-rollover-not-working/317750)

<div class="topic-metadata">

**Author:** [@Eran\_Hadad](https://discuss.elastic.co/u/Eran_Hadad)\
**Replies:** 2\
**Last updated:** [October 30, 2022, 11:08am UTC](https://discuss.elastic.co/t/index-rollover-not-working/317750 "2022-10-30T11:08:37Z")

</div>

I have an index, let's call it index-name-000001, current size 30gb. Aliases index-name Current action rollover under phase definition: "actions": { "rollover": { "max\_primary\_shard\_size": "20gb" …

---

## [Output Batch Sizes](https://discuss.elastic.co/t/output-batch-sizes/317486)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 3\
**Last updated:** [October 30, 2022, 9:39am UTC](https://discuss.elastic.co/t/output-batch-sizes/317486 "2022-10-30T09:39:55Z")

</div>

Hi, How can we see the size of the batches logstash is pushing to elasticsearch? Thx D

---

## [How to flush APM transaction before shutting down application (.net 6 / console / Lambda)](https://discuss.elastic.co/t/how-to-flush-apm-transaction-before-shutting-down-application-net-6-console-lambda/317748)

<div class="topic-metadata">

**Author:** [@jimmie](https://discuss.elastic.co/u/jimmie)\
**Replies:** 2\
**Last updated:** [October 30, 2022, 9:34am UTC](https://discuss.elastic.co/t/how-to-flush-apm-transaction-before-shutting-down-application-net-6-console-lambda/317748 "2022-10-30T09:34:37Z")

</div>

I'm using Elastic APM on my .NET 6 API which works perfectly fine. I'm trying to get it roll on my console and AWS Lamdba deploys as well. I moved out the important pieces to a separate project to easier debug and show…

---

## [Phrase search with fuzziness](https://discuss.elastic.co/t/phrase-search-with-fuzziness/317725)

<div class="topic-metadata">

**Author:** [@Davood1659](https://discuss.elastic.co/u/Davood1659)\
**Replies:** 0\
**Last updated:** [October 29, 2022, 12:24pm UTC](https://discuss.elastic.co/t/phrase-search-with-fuzziness/317725 "2022-10-29T12:24:34Z")

</div>

Hi all, A while ago, I needed to find documents that a certain term(word) is repeated twice or more in a certain field of those documents. Some queries like Match query doesn't work in such situations as they just check…

---

## [Security for multiple users accessing the same index](https://discuss.elastic.co/t/security-for-multiple-users-accessing-the-same-index/317736)

<div class="topic-metadata">

**Author:** [@HockeyFan0000](https://discuss.elastic.co/u/HockeyFan0000)\
**Replies:** 2\
**Last updated:** [October 29, 2022, 11:12pm UTC](https://discuss.elastic.co/t/security-for-multiple-users-accessing-the-same-index/317736 "2022-10-29T23:12:25Z")

</div>

We have multiple users creating indexes for very few documents. One index has one document they update daily and another has 2-3 documents indexed every two weeks. We would like to combine all these minimal-use cases i…

---

## [How to disable score calculation to improve performance (fuzzy queries)](https://discuss.elastic.co/t/how-to-disable-score-calculation-to-improve-performance-fuzzy-queries/317729)

<div class="topic-metadata">

**Author:** [@Giorgos\_Katiforis](https://discuss.elastic.co/u/Giorgos_Katiforis)\
**Replies:** 0\
**Last updated:** [October 29, 2022, 1:20pm UTC](https://discuss.elastic.co/t/how-to-disable-score-calculation-to-improve-performance-fuzzy-queries/317729 "2022-10-29T13:20:50Z")

</div>

Hello, I would like to know if there is a way to disable the score calculation in Elasticsearch. I am running match queries with fuzziness 2 and I have noticed (using profile )it consumes a lot of time in build\_scorer. …

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

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