# Latest

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

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

**Page:** 271

---

## [Shards are not relocated from excluded data nodes](https://discuss.elastic.co/t/shards-are-not-relocated-from-excluded-data-nodes/363860)

<div class="topic-metadata">

**Author:** [@a06ced31bae02498a46d](https://discuss.elastic.co/u/a06ced31bae02498a46d)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 1:09pm UTC](https://discuss.elastic.co/t/shards-are-not-relocated-from-excluded-data-nodes/363860 "2024-07-26T13:09:00Z")

</div>

When excluding certain nodes with cluster.routing.allocation.exclude.\_ip setting most of the shards are moved off of the nodes. However, some nodes are still having a few shards. First 2 nodes here have 1 shard each eve…

---

## [I am not able to get metrics from the machines that enrolled outside the network](https://discuss.elastic.co/t/i-am-not-able-to-get-metrics-from-the-machines-that-enrolled-outside-the-network/363862)

<div class="topic-metadata">

**Author:** [@Rohan\_sirohi](https://discuss.elastic.co/u/Rohan_sirohi)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 12:54pm UTC](https://discuss.elastic.co/t/i-am-not-able-to-get-metrics-from-the-machines-that-enrolled-outside-the-network/363862 "2024-07-26T12:54:26Z")

</div>

Hi All, I have checked numerous forums but haven't found a solution, so I am raising this question here because of my unique setup. I have Elasticsearch and Kibana running on a Proxmox server inside containers. My entir…

---

## [Logstash plugin error with Tibero DB](https://discuss.elastic.co/t/logstash-plugin-error-with-tibero-db/363832)

<div class="topic-metadata">

**Author:** [@jimmy\_park](https://discuss.elastic.co/u/jimmy_park)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 12:21pm UTC](https://discuss.elastic.co/t/logstash-plugin-error-with-tibero-db/363832 "2024-07-26T12:21:53Z")

</div>

I have a problem about using Logstash with Tibero DB I want to extract data using Logstash at Tibero DB But the plugin error is occured My test.conf is: input { jdbc { jdbc\_driver\_library =\> "/home/elastic/tibero6…

---

## [Elastic crash, nodes timed out](https://discuss.elastic.co/t/elastic-crash-nodes-timed-out/363764)

<div class="topic-metadata">

**Author:** [@PustyB](https://discuss.elastic.co/u/PustyB)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 10:34am UTC](https://discuss.elastic.co/t/elastic-crash-nodes-timed-out/363764 "2024-07-26T10:34:33Z")

</div>

Hi. I have an elastic cluster on Kubernetes. Since yesterday I am facing the problem of kubernetes nodes stopping. 3 nodes (64GB RAM) The last logs it reads before crashing are: {"@timestamp":"2024-07-25T05:44:12.428Z…

---

## [Elasticsearch opening around 200 ports to communicate internally in single node setup beside http and tcp port configured](https://discuss.elastic.co/t/elasticsearch-opening-around-200-ports-to-communicate-internally-in-single-node-setup-beside-http-and-tcp-port-configured/363821)

<div class="topic-metadata">

**Author:** [@Sheik\_Mohammed\_Shaw](https://discuss.elastic.co/u/Sheik_Mohammed_Shaw)\
**Replies:** 1\
**Last updated:** [July 26, 2024, 9:07am UTC](https://discuss.elastic.co/t/elasticsearch-opening-around-200-ports-to-communicate-internally-in-single-node-setup-beside-http-and-tcp-port-configured/363821 "2024-07-26T09:07:26Z")

</div>

Elasticsearch is opening many ports to communicate with itself, in a single-node setup. Is this the expected behavior? If yes kindly mention why around 100 connections established within itself? I tested with various …

---

## [A copy of this shard is already allocated to this node](https://discuss.elastic.co/t/a-copy-of-this-shard-is-already-allocated-to-this-node/362138)

<div class="topic-metadata">

**Author:** [@Sam\_Rybkin](https://discuss.elastic.co/u/Sam_Rybkin)\
**Replies:** 5\
**Last updated:** [July 26, 2024, 8:33am UTC](https://discuss.elastic.co/t/a-copy-of-this-shard-is-already-allocated-to-this-node/362138 "2024-07-26T08:33:47Z")

</div>

Hi we have next kibana settings: GET /.kibana/\_settings { ".kibana\_2" : { "settings" : { "index" : { "number\_of\_shards" : "1", "auto\_expand\_replicas" : "false", "provided\_name" : ".ki…

---

## [Global Aggregation on nested fields with filters](https://discuss.elastic.co/t/global-aggregation-on-nested-fields-with-filters/363023)

<div class="topic-metadata">

**Author:** [@Bhavyagc](https://discuss.elastic.co/u/Bhavyagc)\
**Replies:** 3\
**Last updated:** [July 26, 2024, 4:13am UTC](https://discuss.elastic.co/t/global-aggregation-on-nested-fields-with-filters/363023 "2024-07-26T04:13:36Z")

</div>

I am facing issues with aggregations on nested field. Below are the mapping fields. { "mappings": { "properties": { "autocomplete": { "type": "text", "analyzer": "autocomplete", "fiel…

---

## [Creating a Geo Enrich Policy for existing Index, encountering error when adding the enriched field to existing documents by Reindexing](https://discuss.elastic.co/t/creating-a-geo-enrich-policy-for-existing-index-encountering-error-when-adding-the-enriched-field-to-existing-documents-by-reindexing/363804)

<div class="topic-metadata">

**Author:** [@jlogan](https://discuss.elastic.co/u/jlogan)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 2:25am UTC](https://discuss.elastic.co/t/creating-a-geo-enrich-policy-for-existing-index-encountering-error-when-adding-the-enriched-field-to-existing-documents-by-reindexing/363804 "2024-07-26T02:25:04Z")

</div>

Hi there! I'm trying to create an Enrich Policy using geo\_match for the first time and wanted to test it by applying it to an existing index and documents within it. I've added the field that I intend to populate with t…

---

## [When a new custom transaction ends does the original 'parent' continue?](https://discuss.elastic.co/t/when-a-new-custom-transaction-ends-does-the-original-parent-continue/363805)

<div class="topic-metadata">

**Author:** [@dantoomey](https://discuss.elastic.co/u/dantoomey)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 6:41pm UTC](https://discuss.elastic.co/t/when-a-new-custom-transaction-ends-does-the-original-parent-continue/363805 "2024-07-25T18:41:32Z")

</div>

We have created a custom transaction on part of our code. When the custom transaction ends, does the prior transaction continue operating? For example: Transaction transaction = ElasticApm.startTransaction(); where th…

---

## [When a custom transaction ends, does the prior/parent transaction continue?](https://discuss.elastic.co/t/when-a-custom-transaction-ends-does-the-prior-parent-transaction-continue/363793)

<div class="topic-metadata">

**Author:** [@dantoomey](https://discuss.elastic.co/u/dantoomey)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 5:06pm UTC](https://discuss.elastic.co/t/when-a-custom-transaction-ends-does-the-prior-parent-transaction-continue/363793 "2024-07-25T17:06:35Z")

</div>

We have created a custom transaction on part of our code. When the custom transaction ends, does the prior transaction continue operating?

---

## [Logstash Fail to Index Events due to field type](https://discuss.elastic.co/t/logstash-fail-to-index-events-due-to-field-type/363799)

<div class="topic-metadata">

**Author:** [@erikg](https://discuss.elastic.co/u/erikg)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 4:33pm UTC](https://discuss.elastic.co/t/logstash-fail-to-index-events-due-to-field-type/363799 "2024-07-25T16:33:42Z")

</div>

Hello, I have events not indexing into elastic when passing through logstash. The reason is because sometimes a field like "remoteAddress" (of type ip) contains no values. \]\>worker18","logEvent":{"message":"Could not i…

---

## [Index refresh and replication behaviour](https://discuss.elastic.co/t/index-refresh-and-replication-behaviour/363798)

<div class="topic-metadata">

**Author:** [@Sergii1](https://discuss.elastic.co/u/Sergii1)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 4:19pm UTC](https://discuss.elastic.co/t/index-refresh-and-replication-behaviour/363798 "2024-07-25T16:19:26Z")

</div>

I am struggling to understand if the index refresh operation makes data available for search immediately on both primary and replica shards. On one hand, it seems that replication and index refreshing are completely ind…

---

## [How to perform atomic operations using a java client](https://discuss.elastic.co/t/how-to-perform-atomic-operations-using-a-java-client/363769)

<div class="topic-metadata">

**Author:** [@Kotomi\_Ichinose](https://discuss.elastic.co/u/Kotomi_Ichinose)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 3:35pm UTC](https://discuss.elastic.co/t/how-to-perform-atomic-operations-using-a-java-client/363769 "2024-07-25T15:35:06Z")

</div>

java client I want to do the following with a java client. I couldn't find a way to do it in the documentation. POST \_aliases { "actions": \[ { "remove": { "index": "logs-nginx.access-prod", …

---

## [Slowlog message's entries grok](https://discuss.elastic.co/t/slowlog-messages-entries-grok/363794)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 2:45pm UTC](https://discuss.elastic.co/t/slowlog-messages-entries-grok/363794 "2024-07-25T14:45:52Z")

</div>

Hey there, to investigate possible issues I used to collect slowlog entries. Obviously, query field is very important but I saw during these years that there isn't any easy way to analyze it. I mean, generally I use a …

---

## [Upgrade elasticsearch 8.4.10 to 8.14.3](https://discuss.elastic.co/t/upgrade-elasticsearch-8-4-10-to-8-14-3/363633)

<div class="topic-metadata">

**Author:** [@Fernando\_Oliveira](https://discuss.elastic.co/u/Fernando_Oliveira)\
**Replies:** 4\
**Last updated:** [July 25, 2024, 2:02pm UTC](https://discuss.elastic.co/t/upgrade-elasticsearch-8-4-10-to-8-14-3/363633 "2024-07-25T14:02:55Z")

</div>

Hello. I have a local installation of Elastic Search and Kibana, both version 8.4.10. What is the correct procedure to upgrade to version 8.14.3? Without losing the cluster, index settings, i.e. keeping the settings by…

---

## [Create field with condition while looping through an array in ruby](https://discuss.elastic.co/t/create-field-with-condition-while-looping-through-an-array-in-ruby/363444)

<div class="topic-metadata">

**Author:** [@Armalyca](https://discuss.elastic.co/u/Armalyca)\
**Replies:** 4\
**Last updated:** [July 25, 2024, 1:59pm UTC](https://discuss.elastic.co/t/create-field-with-condition-while-looping-through-an-array-in-ruby/363444 "2024-07-25T13:59:59Z")

</div>

Hello, I use logstash 7.17. I want to create a field while looping through an array in ruby from my data. Here is a snippet of my code which doesn't work : items\_contact = event.get("\[contactMedium\]") if items\_con…

---

## [Elasticsearch spends all CPU time decompressing till restart](https://discuss.elastic.co/t/elasticsearch-spends-all-cpu-time-decompressing-till-restart/363706)

<div class="topic-metadata">

**Author:** [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 1:46pm UTC](https://discuss.elastic.co/t/elasticsearch-spends-all-cpu-time-decompressing-till-restart/363706 "2024-07-25T13:46:55Z")

</div>

Hey, I have a fun issue here, that I am unable to pinpoint. We have a relatively old 7.9.0 cluster (spare me be upgrade preach, I've been doing that for months for this cluster :shushing\_face:), that suddenly jumps from…

---

## [Support for transaction parentIds in Elastic Rum agent](https://discuss.elastic.co/t/support-for-transaction-parentids-in-elastic-rum-agent/363771)

<div class="topic-metadata">

**Author:** [@pedrogranja](https://discuss.elastic.co/u/pedrogranja)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 12:59pm UTC](https://discuss.elastic.co/t/support-for-transaction-parentids-in-elastic-rum-agent/363771 "2024-07-25T12:59:45Z")

</div>

Hello Elastic team, In the context of a web extension, we are using the Elastic RUM agent. We created an agent in both the "FE" of the web extension and in the service worker of the web extension and we would now like t…

---

## [APM-Server 503 request time out](https://discuss.elastic.co/t/apm-server-503-request-time-out/362727)

<div class="topic-metadata">

**Author:** [@Anca\_Linca](https://discuss.elastic.co/u/Anca_Linca)\
**Replies:** 4\
**Last updated:** [July 25, 2024, 10:27am UTC](https://discuss.elastic.co/t/apm-server-503-request-time-out/362727 "2024-07-25T10:27:19Z")

</div>

elasticsearch cluster: 11 nodes (8 CPU/62GB RAM, i3.2xlarge instances in AWS) version 8.13.2 kibana: 1 node (4CPU, 8GB RAM) c5.xlarge instance in AWS, version 8.13.2 apm-server: 1 node (8CPU, 16GB RAM), c5.2xlarge inst…

---

## [Supported OpenJDK \>v11 - RHEL Environment](https://discuss.elastic.co/t/supported-openjdk-v11-rhel-environment/363739)

<div class="topic-metadata">

**Author:** [@alongaks](https://discuss.elastic.co/u/alongaks)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 12:57pm UTC](https://discuss.elastic.co/t/supported-openjdk-v11-rhel-environment/363739 "2024-07-25T12:57:46Z")

</div>

Hello, I have a single node deploy of Enterprise/Elastic Search in RHEL 8. Red Hat has the following lifecycle for various OpenJDK rpms: Application Stream Release Date Retirement Date Release OpenJDK 21 Nov 2…

---

## [Multi\_match with phrase\_prefix is not working although a token has the prefix in it](https://discuss.elastic.co/t/multi-match-with-phrase-prefix-is-not-working-although-a-token-has-the-prefix-in-it/363729)

<div class="topic-metadata">

**Author:** [@ansun](https://discuss.elastic.co/u/ansun)\
**Replies:** 5\
**Last updated:** [July 25, 2024, 11:34am UTC](https://discuss.elastic.co/t/multi-match-with-phrase-prefix-is-not-working-although-a-token-has-the-prefix-in-it/363729 "2024-07-25T11:34:50Z")

</div>

Hello, I am facing a strange situation with multi\_match. This is the simplified multi\_match query I am trying { "multi\_match": { "query": "202201", "type": "phrase\_prefix", "fields": \[ …

---

## [Logstash as service not reading log files](https://discuss.elastic.co/t/logstash-as-service-not-reading-log-files/363774)

<div class="topic-metadata">

**Author:** [@Glen\_Elkins](https://discuss.elastic.co/u/Glen_Elkins)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 11:21am UTC](https://discuss.elastic.co/t/logstash-as-service-not-reading-log-files/363774 "2024-07-25T11:21:13Z")

</div>

I am running logstash as a service by modifying /etc/systemd/system/logstash.service with: ExecStart=/usr/share/logstash/bin/logstash -f /usr/share/logstash/config/logstash.conf --config.reload.automatic Nothing is bei…

---

## [Logstash not able to get nested json in desired output using ruby](https://discuss.elastic.co/t/logstash-not-able-to-get-nested-json-in-desired-output-using-ruby/363751)

<div class="topic-metadata">

**Author:** [@Bhanu\_Praveen](https://discuss.elastic.co/u/Bhanu_Praveen)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 10:55am UTC](https://discuss.elastic.co/t/logstash-not-able-to-get-nested-json-in-desired-output-using-ruby/363751 "2024-07-25T10:55:25Z")

</div>

Below is my sample output log { "traceId": "o0uyveRU/8BkjL+lbpDlnQ==", "spanId": "73rmqIRmo34=", "tags": \[ { "key": "otel.library.name", "vStr": "com.mdi.core.workmgmt.TypedC…

---

## [Elastic APM dropping spans in golang](https://discuss.elastic.co/t/elastic-apm-dropping-spans-in-golang/363679)

<div class="topic-metadata">

**Author:** [@ishan\_khan](https://discuss.elastic.co/u/ishan_khan)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 10:50am UTC](https://discuss.elastic.co/t/elastic-apm-dropping-spans-in-golang/363679 "2024-07-25T10:50:43Z")

</div>

Getting Error Dropped Spans with golang elastic/apm/v2, Check SC attached below, I have already set the \[ELASTIC\_APM\_TRANSACTION\_MAX\_SPANS\] to a very high number of 20000, But it is not showing any span in a transactio…

---

## [Kibana Discover and DSL query - unknown field \[aggs\] and unknown field \[size\]](https://discuss.elastic.co/t/kibana-discover-and-dsl-query-unknown-field-aggs-and-unknown-field-size/362913)

<div class="topic-metadata">

**Author:** [@RobertBM](https://discuss.elastic.co/u/RobertBM)\
**Replies:** 6\
**Last updated:** [July 25, 2024, 10:46am UTC](https://discuss.elastic.co/t/kibana-discover-and-dsl-query-unknown-field-aggs-and-unknown-field-size/362913 "2024-07-25T10:46:52Z")

</div>

Hello team, I am currently facing an issue while trying to load DSL query result in the Kibana Discover tool. The query was created with the help from this forum , which provided the correct result do a NOT IN case. How…

---

## [Two elk stack in same kubernetes cluster having agent port conflict](https://discuss.elastic.co/t/two-elk-stack-in-same-kubernetes-cluster-having-agent-port-conflict/363776)

<div class="topic-metadata">

**Author:** [@Pop\_Adrian](https://discuss.elastic.co/u/Pop_Adrian)\
**Replies:** 0\
**Last updated:** [July 25, 2024, 10:04am UTC](https://discuss.elastic.co/t/two-elk-stack-in-same-kubernetes-cluster-having-agent-port-conflict/363776 "2024-07-25T10:04:58Z")

</div>

Hello, I have an elk stack deployed from helm eck-stack repo and I wanna setup the second one in a new namespace The problem is that the agents will start with the same port and I got Error: could not start the HTTP s…

---

## [Any plans to create an elasticsearch based engine via API?](https://discuss.elastic.co/t/any-plans-to-create-an-elasticsearch-based-engine-via-api/363721)

<div class="topic-metadata">

**Author:** [@functionalDev](https://discuss.elastic.co/u/functionalDev)\
**Replies:** 3\
**Last updated:** [July 25, 2024, 6:35am UTC](https://discuss.elastic.co/t/any-plans-to-create-an-elasticsearch-based-engine-via-api/363721 "2024-07-25T06:35:32Z")

</div>

Hello, according to Create an elasticsearch based engine via API it is currently not possible to create index engines via API. Are there any plans to support that in future? This would help a lot to automate the whole …

---

## [Elastic - Event Filtering](https://discuss.elastic.co/t/elastic-event-filtering/363694)

<div class="topic-metadata">

**Author:** [@Charles\_Nkuna](https://discuss.elastic.co/u/Charles_Nkuna)\
**Replies:** 5\
**Last updated:** [July 25, 2024, 5:27am UTC](https://discuss.elastic.co/t/elastic-event-filtering/363694 "2024-07-25T05:27:48Z")

</div>

Hi, Please assist i have tried to apply event filtering on multiple of process name and applied globally but i'm still seeing the events triggering and i cant apply process names on Trusted Applications due to there's …

---

## [PySpark writing to ES: "Cannot detect ES version"](https://discuss.elastic.co/t/pyspark-writing-to-es-cannot-detect-es-version/363662)

<div class="topic-metadata">

**Author:** [@rzotti-sd](https://discuss.elastic.co/u/rzotti-sd)\
**Replies:** 9\
**Last updated:** [July 24, 2024, 11:55pm UTC](https://discuss.elastic.co/t/pyspark-writing-to-es-cannot-detect-es-version/363662 "2024-07-24T23:55:44Z")

</div>

I'm using the following PySpark code to write a DataFrame to an Elasticsearch cluster hosted in Elastic Cloud. df.writeStream.outputMode("append") .format("org.elasticsearch.spark.sql") .option("checkpoi…

---

## [Searching non-indexed fields throwing error](https://discuss.elastic.co/t/searching-non-indexed-fields-throwing-error/363404)

<div class="topic-metadata">

**Author:** [@sibasish.palo](https://discuss.elastic.co/u/sibasish.palo)\
**Replies:** 5\
**Last updated:** [July 24, 2024, 9:17pm UTC](https://discuss.elastic.co/t/searching-non-indexed-fields-throwing-error/363404 "2024-07-24T21:17:17Z")

</div>

we have some fields which are marked as below old version "field1": { "type": "string", "index": "no" } v8 "field1": { "type": "text", "index": false } e…

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

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