# Latest

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

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

**Page:** 208

---

## [Logstash: XML recursive split](https://discuss.elastic.co/t/logstash-xml-recursive-split/368554)

<div class="topic-metadata">

**Author:** [@nnikushkin](https://discuss.elastic.co/u/nnikushkin)\
**Replies:** 2\
**Last updated:** [October 23, 2024, 3:41pm UTC](https://discuss.elastic.co/t/logstash-xml-recursive-split/368554 "2024-10-23T15:41:00Z")

</div>

Hello, everyone! I am attempting to parse a large XML file that looks like this: \<?xml version="1.0" encoding="UTF-8"?\> \<organisaties\> \<organisatie systeemId="01"\> \<naam\>ORG\_01\</naam\> \</organisatie\> \<organisatie s…

---

## [URL visualizations](https://discuss.elastic.co/t/url-visualizations/369186)

<div class="topic-metadata">

**Author:** [@erikg](https://discuss.elastic.co/u/erikg)\
**Replies:** 3\
**Last updated:** [October 23, 2024, 2:39pm UTC](https://discuss.elastic.co/t/url-visualizations/369186 "2024-10-23T14:39:33Z")

</div>

Hello, I have created HTTP monitors in Synthetics. I want to add a way to monitor and visualize this on a custom dashboard. How would I go about it? I have several URLs and I don't want to drilldown based on url, I jus…

---

## [Not able to connect to APM of 8.15.2 version](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996)

<div class="topic-metadata">

**Author:** [@vikascateina](https://discuss.elastic.co/u/vikascateina)\
**Replies:** 6\
**Last updated:** [October 23, 2024, 12:53pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-apm-of-8-15-2-version/368996 "2024-10-23T12:53:43Z")

</div>

Hi, My apm is not connecting to elasticsearch.Below is my docker-compose file is below. services: elasticsearch: image: docker.elastic.co/elasticsearch/elasticsearch:8.15.2 container\_name: elasticsearch hostname: e…

---

## [Too many smaller indices. shards is creating issue](https://discuss.elastic.co/t/too-many-smaller-indices-shards-is-creating-issue/369271)

<div class="topic-metadata">

**Author:** [@Jay\_Timbadia](https://discuss.elastic.co/u/Jay_Timbadia)\
**Replies:** 20\
**Last updated:** [October 23, 2024, 12:35pm UTC](https://discuss.elastic.co/t/too-many-smaller-indices-shards-is-creating-issue/369271 "2024-10-23T12:35:17Z")

</div>

Hello all, I have a requirement where we have 10s of thousands of smaller indices (~10-20mb). Now the issue is each index is creating a 2 shard(1 primary & 1 replica). So for 10s of thousands of indexes, it will be a …

---

## [Intrusion Detection System log analysis with Suricata =\> Lab Section 4.Setup Question 4.4](https://discuss.elastic.co/t/intrusion-detection-system-log-analysis-with-suricata-lab-section-4-setup-question-4-4/369283)

<div class="topic-metadata">

**Author:** [@ulysse31](https://discuss.elastic.co/u/ulysse31)\
**Replies:** 0\
**Last updated:** [October 23, 2024, 12:14pm UTC](https://discuss.elastic.co/t/intrusion-detection-system-log-analysis-with-suricata-lab-section-4-setup-question-4-4/369283 "2024-10-23T12:14:40Z")

</div>

Course: Intrusion Detection System log analysis with Suricata Version: 4.Setup Question: 4.4 "How many total alerts were generated for the test signature?" Hello, At that moment in the training, there is no test sig…

---

## [How to efficiently implement pagination along with aggregation?](https://discuss.elastic.co/t/how-to-efficiently-implement-pagination-along-with-aggregation/369281)

<div class="topic-metadata">

**Author:** [@sudhi\_desigan](https://discuss.elastic.co/u/sudhi_desigan)\
**Replies:** 0\
**Last updated:** [October 23, 2024, 11:54am UTC](https://discuss.elastic.co/t/how-to-efficiently-implement-pagination-along-with-aggregation/369281 "2024-10-23T11:54:33Z")

</div>

If I prefer composite aggregation, then for say Nth page, I need to query (n-1) times to get after\_key value which is inefficient. Can someone please suggest efficient way to achieve the same?

---

## [Source IP and other metadata not present in logs when log\_sending=true](https://discuss.elastic.co/t/source-ip-and-other-metadata-not-present-in-logs-when-log-sending-true/369188)

<div class="topic-metadata">

**Author:** [@hb-sa](https://discuss.elastic.co/u/hb-sa)\
**Replies:** 1\
**Last updated:** [October 23, 2024, 11:53am UTC](https://discuss.elastic.co/t/source-ip-and-other-metadata-not-present-in-logs-when-log-sending-true/369188 "2024-10-23T11:53:18Z")

</div>

Elastic Cloud version: 8.7.1 APM Agent language and version: Java, 1.52.0 Spring Boot version 2.7 Java version: 17 Logging Framework: SLF4J, both Logback and Log4j2 tested with same issue Description of the problem …

---

## [Using Function Score query with field weighting without Nest](https://discuss.elastic.co/t/using-function-score-query-with-field-weighting-without-nest/369244)

<div class="topic-metadata">

**Author:** [@Matt\_Shallow](https://discuss.elastic.co/u/Matt_Shallow)\
**Replies:** 3\
**Last updated:** [October 23, 2024, 10:48am UTC](https://discuss.elastic.co/t/using-function-score-query-with-field-weighting-without-nest/369244 "2024-10-23T10:48:49Z")

</div>

Hi There, I am trying to find an alternative to the 'WeightFunction' that Nest offers as I would rather stick with QueryDSL library for now. What is the best way to construct the following WeightFunction list using Que…

---

## [Uploading sourcemaps](https://discuss.elastic.co/t/uploading-sourcemaps/368834)

<div class="topic-metadata">

**Author:** [@Casper\_Thrane](https://discuss.elastic.co/u/Casper_Thrane)\
**Replies:** 1\
**Last updated:** [October 23, 2024, 8:30am UTC](https://discuss.elastic.co/t/uploading-sourcemaps/368834 "2024-10-23T08:30:27Z")

</div>

Hi! I kind of feels like the RUM implementation isn't fully done. I am struggling alot with uploading sourcemaps. Right now i get status code 401. Any ideas on how Control security privileges should look like, when cre…

---

## [Fleet - Managing Elastic Agent Policies](https://discuss.elastic.co/t/fleet-managing-elastic-agent-policies/369267)

<div class="topic-metadata">

**Author:** [@marcussjogren](https://discuss.elastic.co/u/marcussjogren)\
**Replies:** 0\
**Last updated:** [October 23, 2024, 8:06am UTC](https://discuss.elastic.co/t/fleet-managing-elastic-agent-policies/369267 "2024-10-23T08:06:55Z")

</div>

Hi! I am currently running a fleet of 5-6 agents, but my environment is not that huge, hence I need to apply various integrations to the agents. The issue that I am having, is that I must use one Agent Policy per serve…

---

## [Trial Extension and Sales Contact](https://discuss.elastic.co/t/trial-extension-and-sales-contact/368431)

<div class="topic-metadata">

**Author:** [@Noam\_Huri](https://discuss.elastic.co/u/Noam_Huri)\
**Replies:** 3\
**Last updated:** [October 23, 2024, 7:46am UTC](https://discuss.elastic.co/t/trial-extension-and-sales-contact/368431 "2024-10-23T07:46:20Z")

</div>

Hi Team, We recently started using the self-managed version of Elasticsearch and submitted the "Extend Your Trial" form. However, we haven't received any email confirmation or follow-up regarding the extension. Additio…

---

## [The target release date for ElasticSearch v8.15.4](https://discuss.elastic.co/t/the-target-release-date-for-elasticsearch-v8-15-4/369252)

<div class="topic-metadata">

**Author:** [@ufkl](https://discuss.elastic.co/u/ufkl)\
**Replies:** 4\
**Last updated:** [October 23, 2024, 6:21am UTC](https://discuss.elastic.co/t/the-target-release-date-for-elasticsearch-v8-15-4/369252 "2024-10-23T06:21:57Z")

</div>

Refer to subject above, there are some features/fixes I am looking, may I check when is the target release date for Elasticsearch v8.15.4?

---

## [Aggregation not working for nested objects](https://discuss.elastic.co/t/aggregation-not-working-for-nested-objects/369251)

<div class="topic-metadata">

**Author:** [@krishna\_kishore](https://discuss.elastic.co/u/krishna_kishore)\
**Replies:** 0\
**Last updated:** [October 23, 2024, 1:52am UTC](https://discuss.elastic.co/t/aggregation-not-working-for-nested-objects/369251 "2024-10-23T01:52:36Z")

</div>

Below is my request . In was getting aggregation for all except attributes i dont know where it was going wrong. Could you help me? { "min\_score": 0.5, "size": 500, "\_source": true, "query": { …

---

## [Agggreation is not working for nested objects](https://discuss.elastic.co/t/agggreation-is-not-working-for-nested-objects/369253)

<div class="topic-metadata">

**Author:** [@krishna\_kishore](https://discuss.elastic.co/u/krishna_kishore)\
**Replies:** 0\
**Last updated:** [October 23, 2024, 2:18am UTC](https://discuss.elastic.co/t/agggreation-is-not-working-for-nested-objects/369253 "2024-10-23T02:18:43Z")

</div>

@discobot could you help me . Getting aggregations for all except attributes. { "min\_score": 0.5, "size": 500, "\_source": true, "query": { "bool": { "must": \[ { …

---

## [Logstash-input-file version 4.4.6 sporadically fails to scan files in read mode](https://discuss.elastic.co/t/logstash-input-file-version-4-4-6-sporadically-fails-to-scan-files-in-read-mode/369248)

<div class="topic-metadata">

**Author:** [@Andreas\_Rulle1](https://discuss.elastic.co/u/Andreas_Rulle1)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 11:22pm UTC](https://discuss.elastic.co/t/logstash-input-file-version-4-4-6-sporadically-fails-to-scan-files-in-read-mode/369248 "2024-10-22T23:22:56Z")

</div>

We use the following configuation input { file { sincedb\_path =\> "/usr/share/logstash/sincedb\_details" path =\> "/home/sportal/logstash/details\_3.0/\*.json" start\_po…

---

## [Cannot view alerted log in security alert](https://discuss.elastic.co/t/cannot-view-alerted-log-in-security-alert/368594)

<div class="topic-metadata">

**Author:** [@Tee55](https://discuss.elastic.co/u/Tee55)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 10:23pm UTC](https://discuss.elastic.co/t/cannot-view-alerted-log-in-security-alert/368594 "2024-10-22T22:23:00Z")

</div>

I tried to create a custom detection rule for MITRE ATT&CK T1078 using the json logs as shown in image below: I upload my log file using " Upload data from a file" integration. Then, I tried to create simple rule us…

---

## [Relating synthetic monitor with apm](https://discuss.elastic.co/t/relating-synthetic-monitor-with-apm/369246)

<div class="topic-metadata">

**Author:** [@Cristian\_Pereyra](https://discuss.elastic.co/u/Cristian_Pereyra)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 10:22pm UTC](https://discuss.elastic.co/t/relating-synthetic-monitor-with-apm/369246 "2024-10-22T22:22:43Z")

</div>

Hello everyone! I'm using synthetic monitor with CLI creating projects. It works fine for me. My goal is to relate the synthetic monitor and uptime with Apm: synthetic monitor: front uptime: back Apm: microservice W…

---

## [Can't get metrics delivered to elasticsearch](https://discuss.elastic.co/t/cant-get-metrics-delivered-to-elasticsearch/368954)

<div class="topic-metadata">

**Author:** [@gatos](https://discuss.elastic.co/u/gatos)\
**Replies:** 9\
**Last updated:** [October 22, 2024, 10:18pm UTC](https://discuss.elastic.co/t/cant-get-metrics-delivered-to-elasticsearch/368954 "2024-10-22T22:18:43Z")

</div>

I've been banging my head against this for a couple days. I have a local test environment set up via docker compose with Cassandra and an ELK stack. I've added a monitoring container that has the Cassandra logs mounted…

---

## [Mapping set to strict, dynamic introduction of \[person\] within \[contacts\] is not allowed](https://discuss.elastic.co/t/mapping-set-to-strict-dynamic-introduction-of-person-within-contacts-is-not-allowed/369172)

<div class="topic-metadata">

**Author:** [@AminulBD](https://discuss.elastic.co/u/AminulBD)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 7:08pm UTC](https://discuss.elastic.co/t/mapping-set-to-strict-dynamic-introduction-of-person-within-contacts-is-not-allowed/369172 "2024-10-22T19:08:21Z")

</div>

I'm trying to index data with the following mapping: { "settings": { "analysis": { "normalizer": { "lowercase\_normalizer": { "type": "custom", …

---

## [Best way to do a Bulk update with script](https://discuss.elastic.co/t/best-way-to-do-a-bulk-update-with-script/369017)

<div class="topic-metadata">

**Author:** [@Matt\_Shallow](https://discuss.elastic.co/u/Matt_Shallow)\
**Replies:** 6\
**Last updated:** [October 22, 2024, 6:06pm UTC](https://discuss.elastic.co/t/best-way-to-do-a-bulk-update-with-script/369017 "2024-10-22T18:06:49Z")

</div>

I have been following a bulk update example to do a bulk update on my index however I get the following error: Validation Failed: 1: can't provide both script and doc; The below code is what is giving the error. var…

---

## [Search-as-you-type vs matchPhasePrefix](https://discuss.elastic.co/t/search-as-you-type-vs-matchphaseprefix/369221)

<div class="topic-metadata">

**Author:** [@ritvij14](https://discuss.elastic.co/u/ritvij14)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 5:49pm UTC](https://discuss.elastic.co/t/search-as-you-type-vs-matchphaseprefix/369221 "2024-10-22T17:49:56Z")

</div>

Hello ES community! I am a complete newbie to ES and learning on the go as I build functionalities for our company. I have synced my DB with Cloud firestore and the indices are all sorted out. i have also built a protot…

---

## [Delete Fleet Agent Policies via Dev Tools?](https://discuss.elastic.co/t/delete-fleet-agent-policies-via-dev-tools/369175)

<div class="topic-metadata">

**Author:** [@RedneckHutch](https://discuss.elastic.co/u/RedneckHutch)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 5:34pm UTC](https://discuss.elastic.co/t/delete-fleet-agent-policies-via-dev-tools/369175 "2024-10-22T17:34:52Z")

</div>

Hey everyone! We are in the process of deploying a large number of agent policies, but recently decided to change multiple configurations about them. Since we are early on in our deployment, we would like to out right de…

---

## [What does the "user: 7 (Authentication failure)" mean?](https://discuss.elastic.co/t/what-does-the-user-7-authentication-failure-mean/369242)

<div class="topic-metadata">

**Author:** [@just4bs](https://discuss.elastic.co/u/just4bs)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 5:15pm UTC](https://discuss.elastic.co/t/what-does-the-user-7-authentication-failure-mean/369242 "2024-10-22T17:15:27Z")

</div>

Came across this in an alert. What does the 7 mean here? Is there a list of codes that include other numbers? Thanks

---

## [Is there a way to create a dashboard and visualization via Kibana REST API in version 8.15.3?](https://discuss.elastic.co/t/is-there-a-way-to-create-a-dashboard-and-visualization-via-kibana-rest-api-in-version-8-15-3/369231)

<div class="topic-metadata">

**Author:** [@\_vk2](https://discuss.elastic.co/u/_vk2)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 5:10pm UTC](https://discuss.elastic.co/t/is-there-a-way-to-create-a-dashboard-and-visualization-via-kibana-rest-api-in-version-8-15-3/369231 "2024-10-22T17:10:23Z")

</div>

Is there a direct way to create a dashboard and visualization in Kibana using REST API? If not, why is that? If there is, could you give me an example please? Also, is there a way to fetch dashboard ids from Kibana using…

---

## [Search pattern in DQL](https://discuss.elastic.co/t/search-pattern-in-dql/368771)

<div class="topic-metadata">

**Author:** [@mika1](https://discuss.elastic.co/u/mika1)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 5:02pm UTC](https://discuss.elastic.co/t/search-pattern-in-dql/368771 "2024-10-22T17:02:22Z")

</div>

i need to find the below pattern from my application logs, when i put the below string in my DQL as provide below . i'm not getting any results. What should be the correct search query. Sting to be searched : "Error -…

---

## [How to reopen an accidental closing of all alerts](https://discuss.elastic.co/t/how-to-reopen-an-accidental-closing-of-all-alerts/369082)

<div class="topic-metadata">

**Author:** [@just4bs](https://discuss.elastic.co/u/just4bs)\
**Replies:** 3\
**Last updated:** [October 22, 2024, 3:09pm UTC](https://discuss.elastic.co/t/how-to-reopen-an-accidental-closing-of-all-alerts/369082 "2024-10-22T15:09:49Z")

</div>

I was working on an alert and ended up closing all of the alerts on the server. Is there a way to reopen the ones I closed at a certain time? I assume I need to be able to see when I did it first. Thanks in advance.

---

## [ElasticAgent enrolled with Fleet server - Connection failure Elastic Defend](https://discuss.elastic.co/t/elasticagent-enrolled-with-fleet-server-connection-failure-elastic-defend/369219)

<div class="topic-metadata">

**Author:** [@Fasertio](https://discuss.elastic.co/u/Fasertio)\
**Replies:** 8\
**Last updated:** [October 22, 2024, 3:05pm UTC](https://discuss.elastic.co/t/elasticagent-enrolled-with-fleet-server-connection-failure-elastic-defend/369219 "2024-10-22T15:05:37Z")

</div>

Dear all, I've installed Elasticsearch, kibana and a Fleet server on a Ubuntu machine for Security testing. The main goal is to install the elastic agent with the Defend integration for XDR on a Windows machine. The i…

---

## [Apm rum js and apm node js does not have the same trace.id](https://discuss.elastic.co/t/apm-rum-js-and-apm-node-js-does-not-have-the-same-trace-id/365922)

<div class="topic-metadata">

**Author:** [@kishorkumar](https://discuss.elastic.co/u/kishorkumar)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 2:43pm UTC](https://discuss.elastic.co/t/apm-rum-js-and-apm-node-js-does-not-have-the-same-trace-id/365922 "2024-10-22T14:43:14Z")

</div>

my docker compose : version: '3.8' services: app: build: context: . dockerfile: Dockerfile restart: always environment: DB\_HOST: database DB\_PORT: 5432 DB\_PASSWORD: postgre…

---

## [Scheduled Email Reports - No Watcher](https://discuss.elastic.co/t/scheduled-email-reports-no-watcher/369234)

<div class="topic-metadata">

**Author:** [@erikg](https://discuss.elastic.co/u/erikg)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 2:32pm UTC](https://discuss.elastic.co/t/scheduled-email-reports-no-watcher/369234 "2024-10-22T14:32:24Z")

</div>

Hello, I know you can currently create a scheduled CSV report by using watcher. Is there any kind of update to create a scheduled report outside of watcher? Or perhaps move out of CSV's and have business reports?

---

## [Watcher - Actions](https://discuss.elastic.co/t/watcher-actions/369169)

<div class="topic-metadata">

**Author:** [@erikg](https://discuss.elastic.co/u/erikg)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 1:50pm UTC](https://discuss.elastic.co/t/watcher-actions/369169 "2024-10-22T13:50:35Z")

</div>

Hello, If I have an ITSM ServiceNow Connector, can I use it in Watcher?

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

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