# Latest

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

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

**Page:** 355

---

## [How to return bucket with 0 count in terms aggregation](https://discuss.elastic.co/t/how-to-return-bucket-with-0-count-in-terms-aggregation/357180)

<div class="topic-metadata">

**Author:** [@m-amano](https://discuss.elastic.co/u/m-amano)\
**Replies:** 0\
**Last updated:** [April 11, 2024, 1:05am UTC](https://discuss.elastic.co/t/how-to-return-bucket-with-0-count-in-terms-aggregation/357180 "2024-04-11T01:05:52Z")

</div>

I want to get return bucket even though the count is 0. How to get daily histogram buckets with 0 count?? My aggregation query is below. I want to every histogram buckets from last Sunday to Saturday. { "size": 0, …

---

## [ECK Operator droping seccompProfiles](https://discuss.elastic.co/t/eck-operator-droping-seccompprofiles/357173)

<div class="topic-metadata">

**Author:** [@Patrick\_McGinnis](https://discuss.elastic.co/u/Patrick_McGinnis)\
**Replies:** 0\
**Last updated:** [April 10, 2024, 10:56pm UTC](https://discuss.elastic.co/t/eck-operator-droping-seccompprofiles/357173 "2024-04-10T22:56:15Z")

</div>

Elastic Operator is dropping the SeccompProfile: type: RuntimeDefault tag on pod creation from ranchers elastic install value.yaml pod template securityContext. which is causing the created statefull sets to fail to run …

---

## [Sort after Nth result](https://discuss.elastic.co/t/sort-after-nth-result/356994)

<div class="topic-metadata">

**Author:** [@Nour\_Dandan](https://discuss.elastic.co/u/Nour_Dandan)\
**Replies:** 6\
**Last updated:** [April 10, 2024, 9:01pm UTC](https://discuss.elastic.co/t/sort-after-nth-result/356994 "2024-04-10T21:01:40Z")

</div>

Hello all, I'm wondering if there's a way to sort on the Nth result. My use case: show the most relevant item at the top and then from there show similar items starting from the cheapest item, so sorting by price. Thi…

---

## [Unable to install sample Web Logs data set in strigo lab for Practice Exam](https://discuss.elastic.co/t/unable-to-install-sample-web-logs-data-set-in-strigo-lab-for-practice-exam/356959)

<div class="topic-metadata">

**Author:** [@Matthew\_G\_Roux](https://discuss.elastic.co/u/Matthew_G_Roux)\
**Replies:** 6\
**Last updated:** [April 10, 2024, 7:41pm UTC](https://discuss.elastic.co/t/unable-to-install-sample-web-logs-data-set-in-strigo-lab-for-practice-exam/356959 "2024-04-10T19:41:20Z")

</div>

Course: Elastic Certified Analyst Version: which version of what ? the class ? elastic lab ? Question: My lab will not load the sample Web Logs data for the Certified Elastic Analyst Practice Exam. I receive an erro…

---

## [Not getting any results for a field that requires exact match](https://discuss.elastic.co/t/not-getting-any-results-for-a-field-that-requires-exact-match/357102)

<div class="topic-metadata">

**Author:** [@Sujinthan](https://discuss.elastic.co/u/Sujinthan)\
**Replies:** 6\
**Last updated:** [April 10, 2024, 7:37pm UTC](https://discuss.elastic.co/t/not-getting-any-results-for-a-field-that-requires-exact-match/357102 "2024-04-10T19:37:08Z")

</div>

I'm building a search feature that allows users to filter by certain field. One of the field is DOI. Filtering by DOI should only return results with exact match. I'm trying to index the following object: public class …

---

## [Problem to Create index pattern](https://discuss.elastic.co/t/problem-to-create-index-pattern/357162)

<div class="topic-metadata">

**Author:** [@erickml0](https://discuss.elastic.co/u/erickml0)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 7:36pm UTC](https://discuss.elastic.co/t/problem-to-create-index-pattern/357162 "2024-04-10T19:36:34Z")

</div>

Hi, community. I'm trying to create the index pattern (i don't have one), it contains 44,238 documents but the company didn't create the index at the beginning. I thought that was the amount of documents but hours have…

---

## [Resource estimation for calculating Max TPS](https://discuss.elastic.co/t/resource-estimation-for-calculating-max-tps/356182)

<div class="topic-metadata">

**Author:** [@tshahab](https://discuss.elastic.co/u/tshahab)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 6:30pm UTC](https://discuss.elastic.co/t/resource-estimation-for-calculating-max-tps/356182 "2024-04-10T18:30:20Z")

</div>

Dear Elastic Community, Need help regarding calculating system resource for EFK stack to calculate Max TPS. Current Setup: Environment: Kubernetes Cluster Elasticsearch: Version: 7.17.3 6 Pods/Containers Each Pod h…

---

## [Logstash with Docker ( Unable to connect to database )](https://discuss.elastic.co/t/logstash-with-docker-unable-to-connect-to-database/357072)

<div class="topic-metadata">

**Author:** [@Kaique292](https://discuss.elastic.co/u/Kaique292)\
**Replies:** 12\
**Last updated:** [April 10, 2024, 5:04pm UTC](https://discuss.elastic.co/t/logstash-with-docker-unable-to-connect-to-database/357072 "2024-04-10T17:04:39Z")

</div>

I've already changed the driver, I've already checked the connection string for a possible error, but apparently everything is fine. I am trying to remotely connect to a SQL Server database through JDBC via Logstash runn…

---

## [Parsing array of json objects](https://discuss.elastic.co/t/parsing-array-of-json-objects/357138)

<div class="topic-metadata">

**Author:** [@sonukowlwar](https://discuss.elastic.co/u/sonukowlwar)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 4:42pm UTC](https://discuss.elastic.co/t/parsing-array-of-json-objects/357138 "2024-04-10T16:42:40Z")

</div>

Hello , I am new to logstash and would like to parse the below json file and add three seperate fields header1 and header2 and header3. Any suggestion on how to do it { "name": "abc", "headers": \[ { "header1": "val…

---

## [Ruby filter to modify nested json field failing](https://discuss.elastic.co/t/ruby-filter-to-modify-nested-json-field-failing/357128)

<div class="topic-metadata">

**Author:** [@elastico12](https://discuss.elastic.co/u/elastico12)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 4:37pm UTC](https://discuss.elastic.co/t/ruby-filter-to-modify-nested-json-field-failing/357128 "2024-04-10T16:37:49Z")

</div>

Hi, I have never used ruby before, or logstash. i have been trying to modify nested JSON field using ruby. JSON looks like below. { "a" : { "b" : "c=d; e=f; g=h" } My end goal is to remove e=f from the nested key b. …

---

## [Logstash error "out of range for an integer"](https://discuss.elastic.co/t/logstash-error-out-of-range-for-an-integer/357152)

<div class="topic-metadata">

**Author:** [@Karthick\_D](https://discuss.elastic.co/u/Karthick_D)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 4:03pm UTC](https://discuss.elastic.co/t/logstash-error-out-of-range-for-an-integer/357152 "2024-04-10T16:03:48Z")

</div>

Getting this error on logatsh-plain.log \[2024-04-10T13:22:24,797\]\[WARN \]\[logstash.outputs.elasticsearch\]\[geoip\]\[2a0f384086e1f5f8eba88bc1849f4a5149188de0fdacb6e00d827adfb445e001\] Could not index event to Elasticsearch. {…

---

## [Filebeat connection to elasticsearch Error](https://discuss.elastic.co/t/filebeat-connection-to-elasticsearch-error/356553)

<div class="topic-metadata">

**Author:** [@Vlad2](https://discuss.elastic.co/u/Vlad2)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 4:20pm UTC](https://discuss.elastic.co/t/filebeat-connection-to-elasticsearch-error/356553 "2024-04-10T16:20:52Z")

</div>

---

## [Http output in logstash with additional body requirements](https://discuss.elastic.co/t/http-output-in-logstash-with-additional-body-requirements/357098)

<div class="topic-metadata">

**Author:** [@Mike\_Yates](https://discuss.elastic.co/u/Mike_Yates)\
**Replies:** 3\
**Last updated:** [April 10, 2024, 3:41pm UTC](https://discuss.elastic.co/t/http-output-in-logstash-with-additional-body-requirements/357098 "2024-04-10T15:41:06Z")

</div>

I have a logstash config file below but the api I'm using requires a body that looks like this, how can i pass that information to the http output configuration. \[ { "class":"stuff", "details":"more stuff" } \] inp…

---

## [Elastic not searching in http.response.body.content field](https://discuss.elastic.co/t/elastic-not-searching-in-http-response-body-content-field/357130)

<div class="topic-metadata">

**Author:** [@CoreCPU](https://discuss.elastic.co/u/CoreCPU)\
**Replies:** 3\
**Last updated:** [April 10, 2024, 3:11pm UTC](https://discuss.elastic.co/t/elastic-not-searching-in-http-response-body-content-field/357130 "2024-04-10T15:11:36Z")

</div>

Hello, I have an index which contains the field "http.response.body.content". I updated the ignore\_above values since this field was ignored. However, it would seem that elasticsearch does not search the content of th…

---

## [How to invoke processors with BulkIngester with Java APIs](https://discuss.elastic.co/t/how-to-invoke-processors-with-bulkingester-with-java-apis/356878)

<div class="topic-metadata">

**Author:** [@wnmills3](https://discuss.elastic.co/u/wnmills3)\
**Replies:** 10\
**Last updated:** [April 10, 2024, 2:57pm UTC](https://discuss.elastic.co/t/how-to-invoke-processors-with-bulkingester-with-java-apis/356878 "2024-04-10T14:57:59Z")

</div>

I'm trying to use the Java API's to invoke a processor while doing bulk indexing. I've set up the processor on my index to use the intfloat\_\_multilingual-e5-base (see below) to map the value of the passage field to a pas…

---

## [Filebeat Not Shipping Container logs from Kubernetes](https://discuss.elastic.co/t/filebeat-not-shipping-container-logs-from-kubernetes/356891)

<div class="topic-metadata">

**Author:** [@paolovalladolid](https://discuss.elastic.co/u/paolovalladolid)\
**Replies:** 10\
**Last updated:** [April 10, 2024, 2:39pm UTC](https://discuss.elastic.co/t/filebeat-not-shipping-container-logs-from-kubernetes/356891 "2024-04-10T14:39:18Z")

</div>

I tried the config settings for autodiscover described here: I confirmed that the pod whose log I want to capture does produce output when I run the command kubectl logs \[podName\] I also confirmed the existence of the…

---

## [MetricBeat Pod, Container and Volume Metricset for Kubernetes Module not working](https://discuss.elastic.co/t/metricbeat-pod-container-and-volume-metricset-for-kubernetes-module-not-working/356903)

<div class="topic-metadata">

**Author:** [@KarwendelMann](https://discuss.elastic.co/u/KarwendelMann)\
**Replies:** 6\
**Last updated:** [April 10, 2024, 2:37pm UTC](https://discuss.elastic.co/t/metricbeat-pod-container-and-volume-metricset-for-kubernetes-module-not-working/356903 "2024-04-10T14:37:20Z")

</div>

Hey there! I've been working on setting up Metricbeat within a local Kubernetes cluster to collect metrics from a microservices system, specifically from the onlineboutique application. My Kubernetes cluster is running …

---

## [Universal profiling APM integration - host.name not working](https://discuss.elastic.co/t/universal-profiling-apm-integration-host-name-not-working/356091)

<div class="topic-metadata">

**Author:** [@Jakub\_Zilinek](https://discuss.elastic.co/u/Jakub_Zilinek)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 2:24pm UTC](https://discuss.elastic.co/t/universal-profiling-apm-integration-host-name-not-working/356091 "2024-04-10T14:24:18Z")

</div>

Hello, We have currently set up this integration: PHP OTEL SDK -\> Otel collector -\> elastic APM. Universal Profiling set up in k8s When looking at Transaction in APM we have this click through But after clicking a…

---

## [Create a new event from some fields](https://discuss.elastic.co/t/create-a-new-event-from-some-fields/357082)

<div class="topic-metadata">

**Author:** [@ddoroshenko](https://discuss.elastic.co/u/ddoroshenko)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 2:10pm UTC](https://discuss.elastic.co/t/create-a-new-event-from-some-fields/357082 "2024-04-10T14:10:10Z")

</div>

Hi, I have a log record which looks like { @timestamp: some\_timestamp, metadata\_field: metadata\_value, other\_field: other\_value, message: some\_message } Is it possible to make new event from this log record w…

---

## [Is there a way to read from only the index set as write index](https://discuss.elastic.co/t/is-there-a-way-to-read-from-only-the-index-set-as-write-index/357135)

<div class="topic-metadata">

**Author:** [@Maitri](https://discuss.elastic.co/u/Maitri)\
**Replies:** 3\
**Last updated:** [April 10, 2024, 1:59pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-read-from-only-the-index-set-as-write-index/357135 "2024-04-10T13:59:33Z")

</div>

Hi, I have created two index with the same alias, Index1 and Index2. Current live data goes into Index1. The reason for creating index2 is I am developing a feature and when it is released I want to remove Index1 and sw…

---

## [Regarding Bulk Indexing Requests](https://discuss.elastic.co/t/regarding-bulk-indexing-requests/357034)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 17\
**Last updated:** [April 10, 2024, 1:55pm UTC](https://discuss.elastic.co/t/regarding-bulk-indexing-requests/357034 "2024-04-10T13:55:42Z")

</div>

Hi, Is there a way I can view the size (number of documents) of a bulk index request once it hits the elasticsearch queue? I want to estimate how efficiently logstash is batching requests that it pushes to elasticsearch…

---

## [Logstash - Kafka input handshake fails](https://discuss.elastic.co/t/logstash-kafka-input-handshake-fails/357154)

<div class="topic-metadata">

**Author:** [@thibaut\_a](https://discuss.elastic.co/u/thibaut_a)\
**Replies:** 0\
**Last updated:** [April 10, 2024, 1:55pm UTC](https://discuss.elastic.co/t/logstash-kafka-input-handshake-fails/357154 "2024-04-10T13:55:01Z")

</div>

Hi, I try to configure a Kafka input in Logstash, but the handshake fails and I don't have a lot of logs to find a solution. \[2024-04-10T13:40:11,511\]\[ERROR\]\[logstash.inputs.kafka \]\[main\]\[kafka\] Unable to poll Kafka…

---

## [Drupal Elastic Connector - K8s - Unable to reconnect to new node pool](https://discuss.elastic.co/t/drupal-elastic-connector-k8s-unable-to-reconnect-to-new-node-pool/357065)

<div class="topic-metadata">

**Author:** [@elastic-noob1](https://discuss.elastic.co/u/elastic-noob1)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 1:14pm UTC](https://discuss.elastic.co/t/drupal-elastic-connector-k8s-unable-to-reconnect-to-new-node-pool/357065 "2024-04-10T13:14:59Z")

</div>

Hello, I have a Drupal app running with Elasticsearch7 on Kubernetes with the Elastic Connector plugin. I needed to recreate the elastic node pool and after re-applying kubectl apply -f elasticsearch.yaml I'm unable to …

---

## [Notification from machine learning job per anomaly score](https://discuss.elastic.co/t/notification-from-machine-learning-job-per-anomaly-score/357148)

<div class="topic-metadata">

**Author:** [@Poukim0m](https://discuss.elastic.co/u/Poukim0m)\
**Replies:** 0\
**Last updated:** [April 10, 2024, 1:02pm UTC](https://discuss.elastic.co/t/notification-from-machine-learning-job-per-anomaly-score/357148 "2024-04-10T13:02:36Z")

</div>

Can I setup a notification mail at the level of a machine learning job depending on the anomaly score? For example I want to get notified when anomaly score \>=80 Thank you, Vivian

---

## [Filter mutate add\_field to create a nested field](https://discuss.elastic.co/t/filter-mutate-add-field-to-create-a-nested-field/357091)

<div class="topic-metadata">

**Author:** [@Armalyca](https://discuss.elastic.co/u/Armalyca)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 12:43pm UTC](https://discuss.elastic.co/t/filter-mutate-add-field-to-create-a-nested-field/357091 "2024-04-10T12:43:50Z")

</div>

Hello, I am new to logstash and I have a question about creating nested field with the add\_field filter I use logstash 7.17. I want to create a nested field from a string, but it doesn't work. The other way around (cr…

---

## [Usage CPU during search query](https://discuss.elastic.co/t/usage-cpu-during-search-query/357059)

<div class="topic-metadata">

**Author:** [@INS](https://discuss.elastic.co/u/INS)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 12:41pm UTC](https://discuss.elastic.co/t/usage-cpu-during-search-query/357059 "2024-04-10T12:41:05Z")

</div>

Hi I'm wondering why during search query, only one are overloading CPU, while we have index divided on 3 shards each on nodes.

---

## [Vector embedding huge size increase](https://discuss.elastic.co/t/vector-embedding-huge-size-increase/356670)

<div class="topic-metadata">

**Author:** [@Chenko](https://discuss.elastic.co/u/Chenko)\
**Replies:** 2\
**Last updated:** [April 10, 2024, 12:40pm UTC](https://discuss.elastic.co/t/vector-embedding-huge-size-increase/356670 "2024-04-10T12:40:57Z")

</div>

Hello! I am currently doing a few tests on Vector Search and Vector Embeddings and found that with a subset of 1.000 documents I have an index with the size of 15mb(+-). When I create a new Index for the vector embeddin…

---

## [Stopping Elasticsearch using 'systemctl stop elasticsearch.service' operation consistently fails](https://discuss.elastic.co/t/stopping-elasticsearch-using-systemctl-stop-elasticsearch-service-operation-consistently-fails/357126)

<div class="topic-metadata">

**Author:** [@Mitanshu\_Bhoot](https://discuss.elastic.co/u/Mitanshu_Bhoot)\
**Replies:** 0\
**Last updated:** [April 10, 2024, 10:38am UTC](https://discuss.elastic.co/t/stopping-elasticsearch-using-systemctl-stop-elasticsearch-service-operation-consistently-fails/357126 "2024-04-10T10:38:00Z")

</div>

Elasticsearch's stop operation fails when attempting to gracefully stop using the systemctl command. The node contains a substantial amount of data, around 10TBs with 200 shards. ES version is 8.9. Is there any solution …

---

## [On k8s, elasticsearch events return degrated status, but all is green on cluster](https://discuss.elastic.co/t/on-k8s-elasticsearch-events-return-degrated-status-but-all-is-green-on-cluster/356112)

<div class="topic-metadata">

**Author:** [@jeromepp](https://discuss.elastic.co/u/jeromepp)\
**Replies:** 1\
**Last updated:** [April 10, 2024, 10:38am UTC](https://discuss.elastic.co/t/on-k8s-elasticsearch-events-return-degrated-status-but-all-is-green-on-cluster/356112 "2024-04-10T10:38:37Z")

</div>

Hello, We use ECK with latest Helm version and Elastisearch 8.12. But this seems to be not relevant to version, there were a similar case without any response : Get events for Elasticsearch cluster health degraded , but…

---

## [ES snapshot getting failed when ES pod get restarted](https://discuss.elastic.co/t/es-snapshot-getting-failed-when-es-pod-get-restarted/357125)

<div class="topic-metadata">

**Author:** [@Nilesh\_Tilani](https://discuss.elastic.co/u/Nilesh_Tilani)\
**Replies:** 0\
**Last updated:** [April 10, 2024, 10:35am UTC](https://discuss.elastic.co/t/es-snapshot-getting-failed-when-es-pod-get-restarted/357125 "2024-04-10T10:35:00Z")

</div>

Hello Team, I have enable the snapshot using below keystore feature elasticsearch-keystore add-file gcs.client.default.credentials\_file ./backup.json but when ES pod get restarted keystore config remove above config …

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

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