All Questions
Tagged with elasticsearch-aggregation elastic-stack
57 questions
1
vote
1
answer
56
views
How to Count Unique Assets with Specific Severity in Elasticsearch?
I have data as follows:
{
"_index": "index",
"_id": "...",
"_score": 4.512486,
"_source": {
"...
0
votes
1
answer
212
views
Elasticsearch "ignore_above" issues
Index Mapping(In Kibana)
GET /new_index/_mapping
I already reset the "ignore_above" to the larger size, but it seems not working for my index when I query for searching.
I heard from other ...
0
votes
1
answer
203
views
Elastic dump from 8.9 to 2.3 throwing errors
When I ran the below command
C:\Users\ASDF>elasticdump --input=http://username:pwd@domainname/indexnameone/ --output=http://username:pwd@domainnameone/indexnametwo --type=data
The error is
...
1
vote
0
answers
30
views
How come the result set is different when compared with 8.9 to 2.3 versions of elastic search?
Even though the query remains the same in the 2.3 and 8.9 versions of Elastic how come the results will be different?
In the Elastic 8.9 version
GET /lems/_search
{"size":0,"query"...
0
votes
0
answers
94
views
Elasticsearch 8.9 version error: [match] unknown token [START_ARRAY] after [query]
I am trying to get my Elasticsearh query to work, but I get this error:
org.elasticsearch.common.ParsingException: [match] unknown token [START_ARRAY] after [query]
This is my query:
{
"size&...
0
votes
1
answer
300
views
unable to find script [testfile] in cluster state in elastic search 8.9 v
I have created a file ie., testfile.painless
ctx._source.b_id=params.b_id;
and just placed the testfile.painless file in the config/scripts folder on cluster node and then tried with _update_by_query
...
1
vote
1
answer
50
views
How to fetch documents with must match clause in elastic search 8.9 v
{
"size": 0,
"query": {
"bool": {
"must": [
{
"match": {
"cid"...
0
votes
1
answer
26
views
What is the corresponding syntax of "not" in 8.9 version of elastic?
The below syntax is from 2.2 elastic version and its works fine.
{
"bool" : {
"must" : {
"term" : { "name.first" : "shay" }
...
0
votes
0
answers
224
views
Elasticsearch query to get count of current hour and last hour documents
I need to get a count of the current hour document and also last one hour from current hour and as well fetch only records for current hour
let's consider now it is "2023-06-26 20:44:56"
I ...
0
votes
0
answers
53
views
Elastic Search Geotile - Sort by distance when size limit reached
I am working on the Elastic Search with Geotile aggregation and having a problem, that is the number of bucket I have may be very high (after even filtering using bounding box).
This can exceed 10,000 ...
0
votes
1
answer
133
views
ElasticSearch is not returning the document in correct order
For the below query, I am searching the text "christ". the result is not showing the correct order. I have a record for "Christine" but it is not showing as a first document. Can ...
0
votes
0
answers
55
views
ElasticSearch: count the occurance of value in a field
I have an index consider "INDEX-01" with the following field
'''
INDEX-01
"IPS":[
"1.2.3.4",
"192.16.2.4",
"192.16.2.3",
"192.16....
0
votes
1
answer
560
views
Elastic Search: How to search an index which matches a field value from another index field
I have two indices " index01 " and " index02 " with the following feilds
index01
department
name
salary
index02
course_name
course_id
I have to make a single query to fetch the ...
1
vote
0
answers
144
views
Elasticsearch - Use a transform as a source for another transform
I have a transform that calculated revenue for products over a certain period. Now I want to know the revenue per category, since a category can have a 100,000 products, I would like to run a ...
0
votes
1
answer
161
views
How to have ingest time - processing time as a field in elastic transform
I have a pivot transform in elastic that groups data and then performs some arbitrary aggregations on it. The transform frequency is 10 minutes, which means it runs every 10 minutes.
Processing of the ...