# Latest

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

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

**Page:** 270

---

## [Searching less fields result into slower search time](https://discuss.elastic.co/t/searching-less-fields-result-into-slower-search-time/363970)

<div class="topic-metadata">

**Author:** [@Sajad\_Soltanian](https://discuss.elastic.co/u/Sajad_Soltanian)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 10:56am UTC](https://discuss.elastic.co/t/searching-less-fields-result-into-slower-search-time/363970 "2024-07-29T10:56:47Z")

</div>

Based on the document "tune for search speed", searching fewer fields should result into faster search response time. But, actually it does not .... We have previously used a multiMatch query on 4 fileds. After a rein…

---

## [Filter for fields that are present in Data Views](https://discuss.elastic.co/t/filter-for-fields-that-are-present-in-data-views/363685)

<div class="topic-metadata">

**Author:** [@DataBjorn](https://discuss.elastic.co/u/DataBjorn)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 10:55am UTC](https://discuss.elastic.co/t/filter-for-fields-that-are-present-in-data-views/363685 "2024-07-29T10:55:38Z")

</div>

When our users are going through the various data sources present in our Elastic stack, they often struggle to know which fields are present in order to build dashboards and alerts. For example: For Metricbeat data, the…

---

## [There are about 800000 log files in my environment, and now logstash is stuck after starting. Is there any solution? You can collect the latest files](https://discuss.elastic.co/t/there-are-about-800000-log-files-in-my-environment-and-now-logstash-is-stuck-after-starting-is-there-any-solution-you-can-collect-the-latest-files/363963)

<div class="topic-metadata">

**Author:** [@Alexis-cmyk-a11y](https://discuss.elastic.co/u/Alexis-cmyk-a11y)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 10:08am UTC](https://discuss.elastic.co/t/there-are-about-800000-log-files-in-my-environment-and-now-logstash-is-stuck-after-starting-is-there-any-solution-you-can-collect-the-latest-files/363963 "2024-07-29T10:08:27Z")

</div>

There are about 800000 log files in my environment, and now logstash is stuck after starting. Is there any solution? You can collect the latest files

---

## [Fault in IFrame embeded visualization](https://discuss.elastic.co/t/fault-in-iframe-embeded-visualization/363952)

<div class="topic-metadata">

**Author:** [@StefanC](https://discuss.elastic.co/u/StefanC)\
**Replies:** 3\
**Last updated:** [July 29, 2024, 10:07am UTC](https://discuss.elastic.co/t/fault-in-iframe-embeded-visualization/363952 "2024-07-29T10:07:48Z")

</div>

We have a dashboard visualisation from Kibane 8.8.3 running running in an IFrame. Since a few weeks (using Google chrome or edge version) When inspecting the data of a chart in csv form there is a red overlay over the t…

---

## [Using FluentD as a log collector with Elastic](https://discuss.elastic.co/t/using-fluentd-as-a-log-collector-with-elastic/363817)

<div class="topic-metadata">

**Author:** [@SandeshS](https://discuss.elastic.co/u/SandeshS)\
**Replies:** 1\
**Last updated:** [July 29, 2024, 9:51am UTC](https://discuss.elastic.co/t/using-fluentd-as-a-log-collector-with-elastic/363817 "2024-07-29T09:51:10Z")

</div>

Hi all, New to this community and very excited to start my journey in the realm of Elastic. Wondering if anyone of you out here is using Fluentd as a log collector instead of logstash? If I can get any starting tips it …

---

## [Filebeat Metrics Spiking and Returning to Normal Despite Ongoing Network Block to Logstash](https://discuss.elastic.co/t/filebeat-metrics-spiking-and-returning-to-normal-despite-ongoing-network-block-to-logstash/363951)

<div class="topic-metadata">

**Author:** [@germain\_nganko](https://discuss.elastic.co/u/germain_nganko)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 7:58am UTC](https://discuss.elastic.co/t/filebeat-metrics-spiking-and-returning-to-normal-despite-ongoing-network-block-to-logstash/363951 "2024-07-29T07:58:36Z")

</div>

I am experiencing an issue with Filebeat in our Kubernetes cluster and would like to know if others have encountered a similar situation or have any insights into this behavior. Issue: I have observed that when there is…

---

## [Shard Allocation Failed](https://discuss.elastic.co/t/shard-allocation-failed/363881)

<div class="topic-metadata">

**Author:** [@Shaakxuur](https://discuss.elastic.co/u/Shaakxuur)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 7:07am UTC](https://discuss.elastic.co/t/shard-allocation-failed/363881 "2024-07-29T07:07:36Z")

</div>

Hi I have a test server that is operated as a single cluster node. However, I don't want to lose the information I have collected. I'm just not experienced enough with Elastic to figure out the root cause :frowning: H…

---

## [ECK Selfhosted k8's fleet -server wont connect Kibana](https://discuss.elastic.co/t/eck-selfhosted-k8s-fleet-server-wont-connect-kibana/363916)

<div class="topic-metadata">

**Author:** [@clockard](https://discuss.elastic.co/u/clockard)\
**Replies:** 1\
**Last updated:** [July 29, 2024, 6:55am UTC](https://discuss.elastic.co/t/eck-selfhosted-k8s-fleet-server-wont-connect-kibana/363916 "2024-07-29T06:55:47Z")

</div>

Hi there, I cannot get my fleet server to communicate with Kibana. I have followed extensive documentation and examples and I can't get anything to work. Here is the yaml files fleet-server.yaml apiVersion: agent.k8s.…

---

## [Host an air-gapped Elastic Endpoint artifact server](https://discuss.elastic.co/t/host-an-air-gapped-elastic-endpoint-artifact-server/363870)

<div class="topic-metadata">

**Author:** [@devilman85](https://discuss.elastic.co/u/devilman85)\
**Replies:** 7\
**Last updated:** [July 29, 2024, 6:54am UTC](https://discuss.elastic.co/t/host-an-air-gapped-elastic-endpoint-artifact-server/363870 "2024-07-29T06:54:59Z")

</div>

I have followed the official guide in the subject does not update the signatures despite creating the ngnix server for the files. How can I solve this?

---

## [Insert Document to Index alias](https://discuss.elastic.co/t/insert-document-to-index-alias/363820)

<div class="topic-metadata">

**Author:** [@Debasis\_Mallick](https://discuss.elastic.co/u/Debasis_Mallick)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 6:46am UTC](https://discuss.elastic.co/t/insert-document-to-index-alias/363820 "2024-07-29T06:46:03Z")

</div>

Hi Team, Is there a method to ingest data into an Index alias, allowing the Elasticsearch engine to determine the specific index for insertion. Likewise in RDBMS, while inserting into partition table , RDBMS engine au…

---

## [Java API Client toString](https://discuss.elastic.co/t/java-api-client-tostring/363934)

<div class="topic-metadata">

**Author:** [@jungsoo](https://discuss.elastic.co/u/jungsoo)\
**Replies:** 1\
**Last updated:** [July 29, 2024, 5:35am UTC](https://discuss.elastic.co/t/java-api-client-tostring/363934 "2024-07-29T05:35:51Z")

</div>

Hello, I am using Java API client, and making searchRequest. SearchRequest searchRequest = SearchRequest.Builder.index("indexName").. otherBuilder ..build(); String queryCheck = searchRequest.toString(); toString of …

---

## [Elasticsearch cloudtrail](https://discuss.elastic.co/t/elasticsearch-cloudtrail/363944)

<div class="topic-metadata">

**Author:** [@bhuvanesh\_ammisetty](https://discuss.elastic.co/u/bhuvanesh_ammisetty)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 4:51am UTC](https://discuss.elastic.co/t/elasticsearch-cloudtrail/363944 "2024-07-29T04:51:55Z")

</div>

Hi Team,i am using Elasticsearch trail version.i have installed agents in 10 systems and i want to move the logs collecting from those to agents to personal server for backup.i want those communications to continously to…

---

## [Scroll API is dropping records](https://discuss.elastic.co/t/scroll-api-is-dropping-records/361237)

<div class="topic-metadata">

**Author:** [@jerry\_jacob](https://discuss.elastic.co/u/jerry_jacob)\
**Replies:** 9\
**Last updated:** [July 29, 2024, 4:44am UTC](https://discuss.elastic.co/t/scroll-api-is-dropping-records/361237 "2024-07-29T04:44:21Z")

</div>

ES version: 7.5.1 { "query": { "range": { "columnName": { "gt": "2024-05-28T16:00:25Z", "lte": "2024-05-28T19:00:24Z" } } } } I have a program that runs above query to pull recor…

---

## [Disable HTTP OPTIONS on port 9200](https://discuss.elastic.co/t/disable-http-options-on-port-9200/363824)

<div class="topic-metadata">

**Author:** [@bhupendra.mskhatri](https://discuss.elastic.co/u/bhupendra.mskhatri)\
**Replies:** 6\
**Last updated:** [July 29, 2024, 4:16am UTC](https://discuss.elastic.co/t/disable-http-options-on-port-9200/363824 "2024-07-29T04:16:02Z")

</div>

How to disable HTTP OPTIONS on port 9200 which our scan tool is flagging as a vulnerability. If we cannot, could you please share a reason that I could share with my security team (link to a document would be prefarable…

---

## [Transforms keep falling behind / not processing any documents](https://discuss.elastic.co/t/transforms-keep-falling-behind-not-processing-any-documents/363596)

<div class="topic-metadata">

**Author:** [@Liam\_Young](https://discuss.elastic.co/u/Liam_Young)\
**Replies:** 2\
**Last updated:** [July 24, 2024, 9:20pm UTC](https://discuss.elastic.co/t/transforms-keep-falling-behind-not-processing-any-documents/363596 "2024-07-24T21:20:19Z")

</div>

Hi, I have a datastream that receives 1000s of requests a minute. I am testing with a script to make logs, it makes 1000 requests in a minute. I am very new to Elasticsearch. The datastream works fine. I set up a transfo…

---

## [ElasticSearch application hosted on separate server stops responding to Liferay Server](https://discuss.elastic.co/t/elasticsearch-application-hosted-on-separate-server-stops-responding-to-liferay-server/363935)

<div class="topic-metadata">

**Author:** [@DineshA](https://discuss.elastic.co/u/DineshA)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 1:58am UTC](https://discuss.elastic.co/t/elasticsearch-application-hosted-on-separate-server-stops-responding-to-liferay-server/363935 "2024-07-29T01:58:43Z")

</div>

Elastic Search services which are hosted on another server stops responding to Liferay application Server and it is intermittent and then have to restart Elasticsearch Service and then liferay application server is able …

---

## [Serilog error](https://discuss.elastic.co/t/serilog-error/363932)

<div class="topic-metadata">

**Author:** [@paolo\_ponzano](https://discuss.elastic.co/u/paolo_ponzano)\
**Replies:** 0\
**Last updated:** [July 28, 2024, 11:27pm UTC](https://discuss.elastic.co/t/serilog-error/363932 "2024-07-28T23:27:13Z")

</div>

I'm trying to use official ECS Serilog Sink on a newly cloud instance of Elastic Search. Here's the payload I'm using I'm trying to use Elasticsearch in place of Logz.Io.. I've my Elasticsearch instance running on Azur…

---

## [How to send wazuh logs to elastic trough logstash](https://discuss.elastic.co/t/how-to-send-wazuh-logs-to-elastic-trough-logstash/363750)

<div class="topic-metadata">

**Author:** [@Felipe\_Medina](https://discuss.elastic.co/u/Felipe_Medina)\
**Replies:** 2\
**Last updated:** [July 28, 2024, 11:17pm UTC](https://discuss.elastic.co/t/how-to-send-wazuh-logs-to-elastic-trough-logstash/363750 "2024-07-28T23:17:40Z")

</div>

Hi I want to sent wazug logs to elastic I found this documentation: But, when I execute the following command to verify my logstash configuration, I obtain errors: Can someone help me? Thank you

---

## [Validation Failed: 1: id is too long, must be no longer than 512 bytes but was: 548;](https://discuss.elastic.co/t/validation-failed-1-id-is-too-long-must-be-no-longer-than-512-bytes-but-was-548/363875)

<div class="topic-metadata">

**Author:** [@sibasish.palo](https://discuss.elastic.co/u/sibasish.palo)\
**Replies:** 1\
**Last updated:** [July 28, 2024, 10:20pm UTC](https://discuss.elastic.co/t/validation-failed-1-id-is-too-long-must-be-no-longer-than-512-bytes-but-was-548/363875 "2024-07-28T22:20:46Z")

</div>

we are migrating from an old elasticsearch version to 8.12 and for some documents we are seeing validation error like Validation Failed: 1: id is too long, must be no longer than 512 bytes but was: 548; i know its a che…

---

## [Filebeat not working even after doing the configuration and setup](https://discuss.elastic.co/t/filebeat-not-working-even-after-doing-the-configuration-and-setup/363795)

<div class="topic-metadata">

**Author:** [@ananya\_yechuri](https://discuss.elastic.co/u/ananya_yechuri)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 4:00pm UTC](https://discuss.elastic.co/t/filebeat-not-working-even-after-doing-the-configuration-and-setup/363795 "2024-07-25T16:00:47Z")

</div>

I have downloaded filebeat and configured the file and did the setup as in the installation and while running the error I haven't gotten any errors but when I go to my stack monitoring it says download fileabeat to view …

---

## [Logstash--Ruby exception occurred: no implicit conversion of nil into String](https://discuss.elastic.co/t/logstash-ruby-exception-occurred-no-implicit-conversion-of-nil-into-string/363889)

<div class="topic-metadata">

**Author:** [@Bhanu\_Praveen](https://discuss.elastic.co/u/Bhanu_Praveen)\
**Replies:** 4\
**Last updated:** [July 28, 2024, 12:47pm UTC](https://discuss.elastic.co/t/logstash-ruby-exception-occurred-no-implicit-conversion-of-nil-into-string/363889 "2024-07-28T12:47:06Z")

</div>

Hello, Below is my json log string: { "traceId": "o0uyveRU/8BkjL+lbpDlnQ==", "spanId": "73rmqIRmo34=", "operationName": "ProcessWorkItem", "startTime": "2024-07-22T06:07:12.650881409Z", "duration": "0.256620153s",…

---

## [Index aliases vs index templates, what to use?](https://discuss.elastic.co/t/index-aliases-vs-index-templates-what-to-use/363923)

<div class="topic-metadata">

**Author:** [@Carl\_jo](https://discuss.elastic.co/u/Carl_jo)\
**Replies:** 2\
**Last updated:** [July 28, 2024, 12:27pm UTC](https://discuss.elastic.co/t/index-aliases-vs-index-templates-what-to-use/363923 "2024-07-28T12:27:11Z")

</div>

Can anybody tell me the difference between index aliases and index templates. When to use each one, and what are their main advantages? Will it work for an9 whatsapp?

---

## [Elasticsearch 8.5.1 with NEST 7.17.5](https://discuss.elastic.co/t/elasticsearch-8-5-1-with-nest-7-17-5/363921)

<div class="topic-metadata">

**Author:** [@esterM](https://discuss.elastic.co/u/esterM)\
**Replies:** 1\
**Last updated:** [July 28, 2024, 11:40am UTC](https://discuss.elastic.co/t/elasticsearch-8-5-1-with-nest-7-17-5/363921 "2024-07-28T11:40:19Z")

</div>

Hi, I am using elasticsearch 8.5.1. with Client NEST 7.17.5 (C#) I get an error every time I refer to Elastic (check if index exist/create index...) : "The client is unable to verify that the server is elasticsearch …

---

## [ElasticSearch query not working](https://discuss.elastic.co/t/elasticsearch-query-not-working/363913)

<div class="topic-metadata">

**Author:** [@Liam\_Young](https://discuss.elastic.co/u/Liam_Young)\
**Replies:** 0\
**Last updated:** [July 27, 2024, 10:00pm UTC](https://discuss.elastic.co/t/elasticsearch-query-not-working/363913 "2024-07-27T22:00:51Z")

</div>

Hi, I am trying to use logstash to make a 1 minute aggregation, when I run the query I've made in postman, I get expected result: { "took": 14, "timed\_out": false, "\_shards": { "total": 1, "s…

---

## [The search for full words or terms does not work correctly](https://discuss.elastic.co/t/the-search-for-full-words-or-terms-does-not-work-correctly/363527)

<div class="topic-metadata">

**Author:** [@Rainbow\_Sprinkles](https://discuss.elastic.co/u/Rainbow_Sprinkles)\
**Replies:** 14\
**Last updated:** [July 27, 2024, 11:59am UTC](https://discuss.elastic.co/t/the-search-for-full-words-or-terms-does-not-work-correctly/363527 "2024-07-27T11:59:35Z")

</div>

Dear talents, I hope everyone is doing well. Could you kindly review the statement below and suggest possible fixes? The keyword is "alt legal". Currently, the search engine is expected to display titles that either c…

---

## [Logstash holds/locks onto files during files rotation](https://discuss.elastic.co/t/logstash-holds-locks-onto-files-during-files-rotation/363723)

<div class="topic-metadata">

**Author:** [@ELKuser24](https://discuss.elastic.co/u/ELKuser24)\
**Replies:** 4\
**Last updated:** [July 27, 2024, 9:53am UTC](https://discuss.elastic.co/t/logstash-holds-locks-onto-files-during-files-rotation/363723 "2024-07-27T09:53:15Z")

</div>

I'm running Logstash 7.17.0 on my Windows server to ship data into my Elasticsearch 8.11.0 instance, running on a Linux server. The Logstash instance is set to ingest log files from a folder, which is actively being writ…

---

## [Elasticsearch Failing to start](https://discuss.elastic.co/t/elasticsearch-failing-to-start/363879)

<div class="topic-metadata">

**Author:** [@erikg](https://discuss.elastic.co/u/erikg)\
**Replies:** 3\
**Last updated:** [July 26, 2024, 7:57pm UTC](https://discuss.elastic.co/t/elasticsearch-failing-to-start/363879 "2024-07-26T19:57:53Z")

</div>

Hello I attempt to install elasticsearch on new node, but its failling to start Any help would be great: Jul 26 09:54:04 \<\> systemd-entrypoint\[1933\]: Exception in thread "main" org.apache.lucene.index.CorruptIndexExcep…

---

## [Information about the endpoint.metrics dataset](https://discuss.elastic.co/t/information-about-the-endpoint-metrics-dataset/363873)

<div class="topic-metadata">

**Author:** [@popeio](https://discuss.elastic.co/u/popeio)\
**Replies:** 0\
**Last updated:** [July 26, 2024, 3:23pm UTC](https://discuss.elastic.co/t/information-about-the-endpoint-metrics-dataset/363873 "2024-07-26T15:23:28Z")

</div>

Hello there, Recently we've begun tinkering with a peculiar dataset named endpoint.metrics, which reports a number of performance metrics once a day (it seems) and upon every policy change. For what it's worth, we are …

---

## [How can filebeat collect logs current date?](https://discuss.elastic.co/t/how-can-filebeat-collect-logs-current-date/363754)

<div class="topic-metadata">

**Author:** [@BevisDev](https://discuss.elastic.co/u/BevisDev)\
**Replies:** 6\
**Last updated:** [July 26, 2024, 3:18pm UTC](https://discuss.elastic.co/t/how-can-filebeat-collect-logs-current-date/363754 "2024-07-26T15:18:43Z")

</div>

Hi everyone, I am new in ELK Stack, I am encountered problems while collecting logs via Filebeat. Specifically I want to collect logs by path for example: /var/logs/\<current\_date\>/app.log and how can I collect current da…

---

## [NestedAggregation in co.elastic.clients:elasticsearch-java](https://discuss.elastic.co/t/nestedaggregation-in-co-elastic-clients-elasticsearch-java/363829)

<div class="topic-metadata">

**Author:** [@S\_R](https://discuss.elastic.co/u/S_R)\
**Replies:** 4\
**Last updated:** [July 26, 2024, 1:47pm UTC](https://discuss.elastic.co/t/nestedaggregation-in-co-elastic-clients-elasticsearch-java/363829 "2024-07-26T13:47:08Z")

</div>

Hi, I'm currently migrating my project to use the new client co.elastic.clients:elasticsearch-java:7.17.22. Previously, with org.elasticsearch:elasticsearch:7.8.1, I created nested aggregations in my JUnit tests like th…

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

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