58,345 questions
0 votes
0 answers
43 views
Spring Data Elasticsearch adds new Date field as text in existing index mapping
I'm using Kotlin + Spring Boot 3.4.1 with spring-boot-starter-data-elasticsearch and Elasticsearch 8.12.2. Existing document: @Document(indexName = "crashes_summary") data class CrashSummary(...
0 votes
0 answers
18 views
How to validate a raw Elasticsearch DSL query string with Elastic.Clients.Elasticsearch v8?
I am using the Elastic.Clients.Elasticsearch v8.19.11 client to connect to Elasticsearch. I want to validate a DSL query provided as a raw JSON string. I'm not looking for simple JSON validation. ...
1 vote
0 answers
52 views
Logs not showing in Kibana
I'm unable to see the logs in Kibana. I have installed Filebeat on Kali and Elasticsearch,Logstash and Kibana on Ubuntu. I want that Filebeat should pass logs to Logstash, then Logstash should pass to ...
0 votes
1 answer
65 views
Elasticsearch bucket_path keep getting Validation Failed: 1: No aggregation found for path
POST huawei-monitor-logs-*/_search { "size": 0, "query": { "term": { "event.original": "down" } }, "aggs": { "...
0 votes
0 answers
36 views
Logstash ILM Policy Causes 400 Error: Object Mapping for Field Tried to Parse as Object
I'm running an ELK stack in Docker Compose with Logstash sending logs to Elasticsearch using an ILM policy created by a separate initialization service. Setup: Elasticsearch with ILM policy Pong-logs-...
0 votes
1 answer
50 views
Spring data elasticsearch how to print the elasticsearch JSON representation of the query
Using SpringBoot data elasticsearch Need to print the Elasticsearch JSON representation of the query Creating a org.springframework.data.elasticsearch.core.query.CriteriaQuery that is passed to org....
0 votes
0 answers
49 views
Connect APM server to elasticsearch
I am trying to send telemetry data from ASP.NET app to elastic search. (logs, metrics, traces). I tried to log data without APM. Logs are sent to elastic without APM, but trace does not work. To ...
0 votes
1 answer
87 views
What is the farthest geopoint from the centroid of a bucket
In my Elastic index my-index I have documents with geopoints. The ideia is to group locations hourly and get a geo centroid for each hour with a radius so I can plot on Leaflet (or similar map api) ...