# Latest

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

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

**Page:** 165

---

## [How to create dynamic scripted field based on date-time range selection](https://discuss.elastic.co/t/how-to-create-dynamic-scripted-field-based-on-date-time-range-selection/373045)

<div class="topic-metadata">

**Author:** [@rkidev](https://discuss.elastic.co/u/rkidev)\
**Replies:** 1\
**Last updated:** [January 10, 2025, 2:29pm UTC](https://discuss.elastic.co/t/how-to-create-dynamic-scripted-field-based-on-date-time-range-selection/373045 "2025-01-10T14:29:35Z")

</div>

I want to create dynamic scripted field (Avg(NA-NB)), which is the average of NA-NB field values based on the date-time range selection. Currently the average is calculated on the total rows of the NA-NB. What I want…

---

## [Authentication of \[elastic\] was terminated by realm \[reserved\] - failed to authenticate user \[elastic\]](https://discuss.elastic.co/t/authentication-of-elastic-was-terminated-by-realm-reserved-failed-to-authenticate-user-elastic/373064)

<div class="topic-metadata">

**Author:** [@Jak](https://discuss.elastic.co/u/Jak)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 2:01pm UTC](https://discuss.elastic.co/t/authentication-of-elastic-was-terminated-by-realm-reserved-failed-to-authenticate-user-elastic/373064 "2025-01-10T14:01:47Z")

</div>

I am receiving the "\[INFO \]\[o.e.x.s.a.AuthenticationService\] Authentication of \[elastic\] was terminated by realm \[reserved\] - failed to authenticate user \[elastic\]" error in the Elasticsearch log files. Authentication is…

---

## [Weird behavior of dot\_product similarity on dense\_vector field](https://discuss.elastic.co/t/weird-behavior-of-dot-product-similarity-on-dense-vector-field/373007)

<div class="topic-metadata">

**Author:** [@elaj](https://discuss.elastic.co/u/elaj)\
**Replies:** 3\
**Last updated:** [January 10, 2025, 1:10pm UTC](https://discuss.elastic.co/t/weird-behavior-of-dot-product-similarity-on-dense-vector-field/373007 "2025-01-10T13:10:36Z")

</div>

Hello, TLDR: What's the "indexation" difference between different similarities for dense\_vector field? I have an index with filed dense\_vector defined with similarity: cosine. Now, I want to experiment with similarity…

---

## [Elastic endpoint high CPU usage](https://discuss.elastic.co/t/elastic-endpoint-high-cpu-usage/373055)

<div class="topic-metadata">

**Author:** [@mike123](https://discuss.elastic.co/u/mike123)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 11:04am UTC](https://discuss.elastic.co/t/elastic-endpoint-high-cpu-usage/373055 "2025-01-10T11:04:01Z")

</div>

I could observe high CPU usage by elastic endpoint in my machines. I also found that elastic agents CPU usage can be controlled using Limit CPU usage option in elastic agent policy settings. Will this setting be applied …

---

## [Table visualization using few logs in the index](https://discuss.elastic.co/t/table-visualization-using-few-logs-in-the-index/371529)

<div class="topic-metadata">

**Author:** [@poewyd](https://discuss.elastic.co/u/poewyd)\
**Replies:** 7\
**Last updated:** [January 10, 2025, 10:04am UTC](https://discuss.elastic.co/t/table-visualization-using-few-logs-in-the-index/371529 "2025-01-10T10:04:29Z")

</div>

I am new with Kibana visualizations and need help with current task. I have 2 logs in same index with different data. Both has message with different log data. 1st one stores information about locations used for searc…

---

## [Multi-tenant with Fleet and one single policy with integrations](https://discuss.elastic.co/t/multi-tenant-with-fleet-and-one-single-policy-with-integrations/373019)

<div class="topic-metadata">

**Author:** [@ArgoAdvisory](https://discuss.elastic.co/u/ArgoAdvisory)\
**Replies:** 2\
**Last updated:** [January 10, 2025, 9:30am UTC](https://discuss.elastic.co/t/multi-tenant-with-fleet-and-one-single-policy-with-integrations/373019 "2025-01-10T09:30:51Z")

</div>

I have a question. I built a structure using Elasticsearch and Fleet Server. In Fleet Server I have a policy called "Agent Windows" with some integrations. I want to install the SAME "Agent Windows" for DIFFERENT compa…

---

## [Elasticsearch Index Contains More Documents Than MySQL Query Results](https://discuss.elastic.co/t/elasticsearch-index-contains-more-documents-than-mysql-query-results/373034)

<div class="topic-metadata">

**Author:** [@Zikou](https://discuss.elastic.co/u/Zikou)\
**Replies:** 3\
**Last updated:** [January 10, 2025, 6:43am UTC](https://discuss.elastic.co/t/elasticsearch-index-contains-more-documents-than-mysql-query-results/373034 "2025-01-10T06:43:37Z")

</div>

I’m encountering an issue where the number of documents in my Elasticsearch index exceeds the number of rows returned by my MySQL query. Specifically: MySQL Query Result: 4802 rows. Elasticsearch Index Document Count: …

---

## [Are GET by ID requests impacted by index refresh?](https://discuss.elastic.co/t/are-get-by-id-requests-impacted-by-index-refresh/373042)

<div class="topic-metadata">

**Author:** [@yeikel](https://discuss.elastic.co/u/yeikel)\
**Replies:** 1\
**Last updated:** [January 10, 2025, 5:59am UTC](https://discuss.elastic.co/t/are-get-by-id-requests-impacted-by-index-refresh/373042 "2025-01-10T05:59:43Z")

</div>

From what I understand, searches may be impacted by index refreshes in that the results may be based on a previous state of the index while the refresh is in progress. But how about get requests by the document ID? Can …

---

## [Kibana, file truncated](https://discuss.elastic.co/t/kibana-file-truncated/373041)

<div class="topic-metadata">

**Author:** [@SAMY-ELK](https://discuss.elastic.co/u/SAMY-ELK)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 3:35am UTC](https://discuss.elastic.co/t/kibana-file-truncated/373041 "2025-01-10T03:35:08Z")

</div>

Hello Team, I discovered that in kibana a certain specific log received is truncated, Here is an example of a truncated log in KIBANA and the original log file : Truncated log : Screenshot 1 Log file before ingest…

---

## [Multiline as single event](https://discuss.elastic.co/t/multiline-as-single-event/373040)

<div class="topic-metadata">

**Author:** [@rubhamra](https://discuss.elastic.co/u/rubhamra)\
**Replies:** 0\
**Last updated:** [January 10, 2025, 3:11am UTC](https://discuss.elastic.co/t/multiline-as-single-event/373040 "2025-01-10T03:11:19Z")

</div>

I am trying to extract log line using custom log integration fleet agent, It's a single event but every event is seperate. \<SQL \> \<TrID: aergaerfertferfewrfwerwewf:0011064\> \<TID: 6546546464\> \<RPC ID: 0001135907\> \<Queue:…

---

## [Unknown host in runner logs, ECE 3.5.1 install fails](https://discuss.elastic.co/t/unknown-host-in-runner-logs-ece-3-5-1-install-fails/373036)

<div class="topic-metadata">

**Author:** [@kcsofl](https://discuss.elastic.co/u/kcsofl)\
**Replies:** 0\
**Last updated:** [January 9, 2025, 10:39pm UTC](https://discuss.elastic.co/t/unknown-host-in-runner-logs-ece-3-5-1-install-fails/373036 "2025-01-09T22:39:22Z")

</div>

We saw a problem with installing ece 3.5.1 on a new ec2 instance in aws. All pre-reqs were followed but despite this we kept seeing "unknown host" exeptions in the logs in /mnt/data/elastic/services/%hostname%/logs/runn…

---

## [How to set Logstash worker](https://discuss.elastic.co/t/how-to-set-logstash-worker/373021)

<div class="topic-metadata">

**Author:** [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Replies:** 3\
**Last updated:** [January 9, 2025, 7:19pm UTC](https://discuss.elastic.co/t/how-to-set-logstash-worker/373021 "2025-01-09T19:19:37Z")

</div>

ELK version : 8.15 We have 2 Logstash instances having 32gb of heap size per node and 6 CPU per node. We have 5 pipeline IDs in both these nodes . For one pipeline id we have set 6 worker , second pipeline id 3 and for…

---

## [I need to show hosts with uptime less than selected timeFilter](https://discuss.elastic.co/t/i-need-to-show-hosts-with-uptime-less-than-selected-timefilter/373027)

<div class="topic-metadata">

**Author:** [@shreedharanand](https://discuss.elastic.co/u/shreedharanand)\
**Replies:** 0\
**Last updated:** [January 9, 2025, 7:06pm UTC](https://discuss.elastic.co/t/i-need-to-show-hosts-with-uptime-less-than-selected-timefilter/373027 "2025-01-09T19:06:35Z")

</div>

I am using Kibana 8.12. I need to create a visualization which shows the unique count of host which is having uptime less than equal to the selected timeFilter. uptime coming from metricset is in ms. For example - If t…

---

## [Struggling with Elastic Agent Log Forwarding in ELK Stack Setup](https://discuss.elastic.co/t/struggling-with-elastic-agent-log-forwarding-in-elk-stack-setup/373024)

<div class="topic-metadata">

**Author:** [@pok\_lehbim](https://discuss.elastic.co/u/pok_lehbim)\
**Replies:** 1\
**Last updated:** [January 9, 2025, 6:55pm UTC](https://discuss.elastic.co/t/struggling-with-elastic-agent-log-forwarding-in-elk-stack-setup/373024 "2025-01-09T18:55:44Z")

</div>

Hello everyone, I'm in the process of setting up an ELK stack for my home lab, and I've hit a brick wall regarding Elastic Agent's ability to send logs. Despite following the setup carefully and ensuring everything conn…

---

## [Add Synthetic Test Tags to Alerts?](https://discuss.elastic.co/t/add-synthetic-test-tags-to-alerts/361053)

<div class="topic-metadata">

**Author:** [@DougR](https://discuss.elastic.co/u/DougR)\
**Replies:** 1\
**Last updated:** [January 9, 2025, 6:14pm UTC](https://discuss.elastic.co/t/add-synthetic-test-tags-to-alerts/361053 "2025-01-09T18:14:47Z")

</div>

Can I add synthetic test tags to my Synthetics alerts? E.g., in the following test, can I add the contents of the tags field to my alert in the event of a failure? heartbeat.monitors: - id: '7cdb4578-aa8a-4d46-86fe-a…

---

## [Index Templates: One or more for an intergration?](https://discuss.elastic.co/t/index-templates-one-or-more-for-an-intergration/373000)

<div class="topic-metadata">

**Author:** [@panagiss](https://discuss.elastic.co/u/panagiss)\
**Replies:** 3\
**Last updated:** [January 9, 2025, 5:46pm UTC](https://discuss.elastic.co/t/index-templates-one-or-more-for-an-intergration/373000 "2025-01-09T17:46:27Z")

</div>

I have deployed Elastic agents to few windows hosts and are managed by fleet. I need to create a custom index template so I can change the ILP based on my custom namespace. So for example for the System integration ther…

---

## [SIEM detection rule](https://discuss.elastic.co/t/siem-detection-rule/372978)

<div class="topic-metadata">

**Author:** [@aravindraja](https://discuss.elastic.co/u/aravindraja)\
**Replies:** 1\
**Last updated:** [January 9, 2025, 4:42pm UTC](https://discuss.elastic.co/t/siem-detection-rule/372978 "2025-01-09T16:42:27Z")

</div>

Hi Folks, Enabling all the SIEM detection rules will consume resource at agent end? And also, is it a best practice to enable all the prebuilt SIEM detection rules? Thanks in advance

---

## [S3 input plugin problem with %](https://discuss.elastic.co/t/s3-input-plugin-problem-with/372928)

<div class="topic-metadata">

**Author:** [@Martin\_IT](https://discuss.elastic.co/u/Martin_IT)\
**Replies:** 4\
**Last updated:** [January 9, 2025, 4:22pm UTC](https://discuss.elastic.co/t/s3-input-plugin-problem-with/372928 "2025-01-09T16:22:58Z")

</div>

Hi, we use S3 input plugin and we have a problem with backup of indexed files. Our files contain character % because URL encoded format. Indexing is OK but than when file should be moved to the archive we receive errors: …

---

## [Splitting message using Logstash mutate filter](https://discuss.elastic.co/t/splitting-message-using-logstash-mutate-filter/373011)

<div class="topic-metadata">

**Author:** [@zaeemmasood](https://discuss.elastic.co/u/zaeemmasood)\
**Replies:** 0\
**Last updated:** [January 9, 2025, 3:49pm UTC](https://discuss.elastic.co/t/splitting-message-using-logstash-mutate-filter/373011 "2025-01-09T15:49:58Z")

</div>

Hi All, The incoming feed (log) to Logstash has parameters which are delimited by ~|~ These are being mutated and split in Logstash as follows. : if \[type\] == "tv\_dmz\_access" { mutate { …

---

## [TVSB - Markdown Help for Title Panel](https://discuss.elastic.co/t/tvsb-markdown-help-for-title-panel/372957)

<div class="topic-metadata">

**Author:** [@erikg](https://discuss.elastic.co/u/erikg)\
**Replies:** 5\
**Last updated:** [January 9, 2025, 3:41pm UTC](https://discuss.elastic.co/t/tvsb-markdown-help-for-title-panel/372957 "2025-01-09T15:41:04Z")

</div>

Hello, I want to create a text panel where I can add links to the right and wording on the left. This is what I am trying to do: ^ Like the image above, I want to say something like "Welcome to Elastic" and the le…

---

## [APM ServiceMap, missing connection between 2 services](https://discuss.elastic.co/t/apm-servicemap-missing-connection-between-2-services/372950)

<div class="topic-metadata">

**Author:** [@fabry\_00](https://discuss.elastic.co/u/fabry_00)\
**Replies:** 0\
**Last updated:** [January 8, 2025, 4:59pm UTC](https://discuss.elastic.co/t/apm-servicemap-missing-connection-between-2-services/372950 "2025-01-08T16:59:11Z")

</div>

Hello, we have an ELK cluster deployed on premise 8.16.2 and a 2 fleetservers that are collecting the traces coming from Opentelemetry collectors. We have a simple scenario (#1) where our gateway (Service A) calls a ba…

---

## [Combine connect and disconnect documents with transform?](https://discuss.elastic.co/t/combine-connect-and-disconnect-documents-with-transform/372477)

<div class="topic-metadata">

**Author:** [@Jokke](https://discuss.elastic.co/u/Jokke)\
**Replies:** 3\
**Last updated:** [January 9, 2025, 1:29pm UTC](https://discuss.elastic.co/t/combine-connect-and-disconnect-documents-with-transform/372477 "2025-01-09T13:29:02Z")

</div>

Hello! I'm new to transforms so not really sure, but I think transforms is what I need here. Logs are pushed from web application to ES (fluentd) and there among connect and disconnect messages. What I would want is to…

---

## [Accidentally deleted synthetic browser data stream](https://discuss.elastic.co/t/accidentally-deleted-synthetic-browser-data-stream/372938)

<div class="topic-metadata">

**Author:** [@Emanuel](https://discuss.elastic.co/u/Emanuel)\
**Replies:** 1\
**Last updated:** [January 8, 2025, 3:57pm UTC](https://discuss.elastic.co/t/accidentally-deleted-synthetic-browser-data-stream/372938 "2025-01-08T15:57:58Z")

</div>

Hello, I accidentally deleted the datastream from synthetic browser via kibana UI, Stack management -\> index management -\> data stream This datastream was in a space so it had a namespace in its name synthetics-browse…

---

## [Open Telemetry Java agent with Elastic APM - verify\_server\_cert=false](https://discuss.elastic.co/t/open-telemetry-java-agent-with-elastic-apm-verify-server-cert-false/372980)

<div class="topic-metadata">

**Author:** [@dave.richards](https://discuss.elastic.co/u/dave.richards)\
**Replies:** 2\
**Last updated:** [January 9, 2025, 12:58pm UTC](https://discuss.elastic.co/t/open-telemetry-java-agent-with-elastic-apm-verify-server-cert-false/372980 "2025-01-09T12:58:52Z")

</div>

Hi Does anyone know what the equivalent setting for verify\_server\_cert=false is in Open Telemetry Java Agent config ? We want to run an OTEL Java agent without certs in place but cannot find any documentation that clea…

---

## [Fleet server - dial tcp connection refused](https://discuss.elastic.co/t/fleet-server-dial-tcp-connection-refused/372912)

<div class="topic-metadata">

**Author:** [@aldafalda](https://discuss.elastic.co/u/aldafalda)\
**Replies:** 4\
**Last updated:** [January 9, 2025, 11:51am UTC](https://discuss.elastic.co/t/fleet-server-dial-tcp-connection-refused/372912 "2025-01-09T11:51:18Z")

</div>

Hi, I have docker compose file for elasticsearch, kibana, elastic-agent and fleet server (version 8.17.0). Elasticsearch works well with Kibana. The problem is with starting fleet server where the starting procedure fai…

---

## [Sending data to index through vega or by any other kibana feature](https://discuss.elastic.co/t/sending-data-to-index-through-vega-or-by-any-other-kibana-feature/370691)

<div class="topic-metadata">

**Author:** [@aman\_kumar4](https://discuss.elastic.co/u/aman_kumar4)\
**Replies:** 3\
**Last updated:** [January 9, 2025, 11:49am UTC](https://discuss.elastic.co/t/sending-data-to-index-through-vega-or-by-any-other-kibana-feature/370691 "2025-01-09T11:49:59Z")

</div>

I want to calculate that how much an user spent time on a particular dashboard i have created a timer through vega ( working) now want to send this timer data when user closes/leaves the dashboard so that I can use thi…

---

## [Performance: Adding multiple indexes in term query in a search request](https://discuss.elastic.co/t/performance-adding-multiple-indexes-in-term-query-in-a-search-request/372994)

<div class="topic-metadata">

**Author:** [@ajayraghav](https://discuss.elastic.co/u/ajayraghav)\
**Replies:** 0\
**Last updated:** [January 9, 2025, 11:47am UTC](https://discuss.elastic.co/t/performance-adding-multiple-indexes-in-term-query-in-a-search-request/372994 "2025-01-09T11:47:02Z")

</div>

I intend to use query\_string and term queries (across multiple indexes) on \_search. My combined query is this, "query": { "bool": { "must": \[ { "query\_string": { "fields": \[ "\*" \], "query": "tes" } } \], "sh…

---

## [Double Terms aggregation with top\_hits sub-aggregation not working](https://discuss.elastic.co/t/double-terms-aggregation-with-top-hits-sub-aggregation-not-working/372668)

<div class="topic-metadata">

**Author:** [@Clement\_Naudet](https://discuss.elastic.co/u/Clement_Naudet)\
**Replies:** 5\
**Last updated:** [January 9, 2025, 11:36am UTC](https://discuss.elastic.co/t/double-terms-aggregation-with-top-hits-sub-aggregation-not-working/372668 "2025-01-09T11:36:18Z")

</div>

Hello everyone, Here is my mapping in my index "my-index-000001" { "mappings": { "properties": { "objectId": { "type": "keyword" }, "dateTime": { "type": "date" }, "status": { "type": "keyword" …

---

## [To big index for ML job - how to add ILM?](https://discuss.elastic.co/t/to-big-index-for-ml-job-how-to-add-ilm/357611)

<div class="topic-metadata">

**Author:** [@Wojciech\_Kwiecien](https://discuss.elastic.co/u/Wojciech_Kwiecien)\
**Replies:** 1\
**Last updated:** [January 9, 2025, 11:11am UTC](https://discuss.elastic.co/t/to-big-index-for-ml-job-how-to-add-ilm/357611 "2025-01-09T11:11:56Z")

</div>

Hello Everyone, I’ve encountered an issue while working with Machine Learning jobs in Elasticsearch, where the result indices aren't being properly managed post-rollover. I have to figured out something because index f…

---

## [Perform aggregation as part of a Kibana FIlter using DSL](https://discuss.elastic.co/t/perform-aggregation-as-part-of-a-kibana-filter-using-dsl/371468)

<div class="topic-metadata">

**Author:** [@bjornbear](https://discuss.elastic.co/u/bjornbear)\
**Replies:** 1\
**Last updated:** [January 9, 2025, 11:01am UTC](https://discuss.elastic.co/t/perform-aggregation-as-part-of-a-kibana-filter-using-dsl/371468 "2025-01-09T11:01:50Z")

</div>

Is it possible to perform filtering based on aggregation? I have a large number of components as part of a service and am only interested to show metric tiles for those that exceed certain thresholds instead of everythin…

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

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