Questions tagged [elasticsearch]

Elasticsearch is a free and open, distributed, RESTful search engine based on Lucene.

Elasticsearch is a free and open, distributed, RESTful search engine based on and developed in .

Together, , , and are commonly known as the . With the addition of Beats, a free and open platform for single-purpose data shippers, the ELK Stack is now known as the Elastic Stack.

Elasticsearch is a distributed, scalable, and multitenant-capable full-text search engine with a RESTful web interface and schema-free documents. It is also document-oriented and includes various APIs, such as native Java and HTTP RESTful. Elasticsearch supports both schema on read and schema on write on the same data, providing speed an

Elasticsearch allows you to choose to store data locally for fast search or store remotely on object-based storage such as for lower-cost options.

Elasticsearch comes with various text preprocessing algorithms, allowing users to set up custom or predefined multilingual analyzers to improve search relevance.

Official clients are available in , , , , , , , and many other languages.

Latest stable releases:

Elastic is the parent company of the Elasticsearch product.

58010 questions
9
votes
3 answers

Is aws elasticsearch SysMemoryUtilization metric accurate?

I use the AWS elasticsearch service. There is no much data is stored. I use m3.large.elasticsearch instance type. When I check the Maximum memory utilization (SysMemoryUtilization) metric, it is always about 90%. I guess this is the memory usage…
Xiaowu Feng
  • 91
  • 1
  • 3
9
votes
1 answer

Control number of buckets created in an aggregation

In Elasticsearch there's a limit on how many buckets you can create in an aggregation. If it creates more buckets than the specified limit, you will get a warning message In ES 6.x and an error will be thrown in future versions. Here's the warning…
Ahmad Mozafarnia
  • 151
  • 1
  • 1
  • 8
9
votes
2 answers

How to configure "search.max_open_scroll_context" in elasticsearch?

I an using scroll to get data in elasticsearch (version: 7.0.0). However, when I used it, the exception was thrown. Request: GET /index-name/_search?scroll=1m { "size": 100, "query": { "match_all" : {} } } Response { …
huangjs
  • 459
  • 1
  • 5
  • 13
9
votes
3 answers

ElasticSearch 5.6 cannot start on Mac OS

I can't start ElasticSearch 5.6 server on Mac after installing it with Brew. Get this error: $ /usr/local/opt/elasticsearch@5.6/bin/elasticsearch Exception in thread "main" org.elasticsearch.bootstrap.BootstrapException:…
Victor Bocharsky
  • 11,930
  • 13
  • 58
  • 91
9
votes
2 answers

Elasticsearch paginating a sorted, aggregated result

As far as I'm aware, there isn't a way to do something like the following in Elasticsearch: SELECT * FROM myindex GROUP BY agg_field1, agg_field2, agg_field3 // aggregation ORDER BY order_field1, order_field2, order_field3 // sort LIMIT 1000, 5000…
user10332687
9
votes
3 answers

Springboot elastic search health management : ConnectException: Connection refused

In my spring yaml file: spring: application: name: myApp elasticsearch: jest: uris: ["http://myelasticserver:9200"] multi-threaded: true read-timeout: 10000 management: health: elasticsearch: indices:…
Xitrum
  • 7,765
  • 26
  • 90
  • 126
9
votes
1 answer

Elasticsearch syntax error with multi fields search

I watched Elasticsearch Do's, Don'ts and Pro-Tips by Itamar Syn Hershko https://www.youtube.com/watch?v=c9O5_a50aOQ I see multiple conditions in several fields in the following image: https://i.stack.imgur.com/CGbCC.jpg I tried to make it in…
mstdmstd
  • 586
  • 15
  • 39
9
votes
4 answers

connecting to AWS Elasticsearch to reboot?

I am getting my hands in AWS hosted Elastic search. Is it possible for me to connect to the ES via the instance its linked? and is it possible to reboot my elastic search cluster? The AWS Cli don't have anything related to reboot and all i can try…
Harun Guna
  • 129
  • 1
  • 1
  • 7
9
votes
1 answer

Timelion split multiple times

Is there any possibility to split multiple times in timelion? Currently I use an expression like this: .es(q='name:*jvm*', metric=avg:mean, split=name.keyword:10) .label(regex='.*whatever\.(.*) >.*', label=$1) resulting in a timeseries…
Franz Ebner
  • 4,951
  • 3
  • 39
  • 57
9
votes
2 answers

ElasticSearch - How does sharding affect indexing performance?

I'm doing some benchmarks on a single-node cluster of ElasticSearch. I faced to the situation that more shards will reduce the indexing performance -at least in a single node- (both in latency and throughput) These are some of my numbers: Index…
Reza Same'ei
  • 819
  • 8
  • 22
9
votes
5 answers

How to change Elasticsearch network host

I've install ES on my VM which it has an OS of centos 7. It network.host: bind to the localhost. I can browse via port 9200. My problem is that I've changed the network host to:0.0.0.0 (So I can get public access from my host PC). the service…
vish
  • 671
  • 2
  • 7
  • 15
9
votes
1 answer

How to resolve ‘530 5.7.0 Must issue a STARTTLS command first. o63-v6sm4041934ywc.36 - gsmtp\n’ for elasticsearch?

I am creating an application where I need to send an email alert for my logs. Here is input to create a watcher: PUT _xpack/watcher/watch/log_error_watch { "trigger" : { "schedule" : { "interval" : "10s" } }, "input" : { "search" : { …
Deva
  • 1,039
  • 1
  • 14
  • 40
9
votes
0 answers

ElasticSearch error ""Message":"Request size exceeded 10485760 bytes"

While uploading a 50 mb size huge JSON string in ElasticSearch using this method - public static void postData(String json, String index, String type) { RestClient client = RestClient.builder(new HttpHost(testHostPreProd, 443,…
user9755712
9
votes
3 answers

How to solve "Error connecting to SMTP host: [Errno 10061] No connection could be made because the target machine actively refused it''?

I am creating an application where I need to send mail for some particular logs. Here is my rule file: es_host: localhost es_port: 9200 name: Log Level Test type: frequency index: testindexv4 num_events: 1 timeframe: hours: 4 filter: - term: …
Deva
  • 1,039
  • 1
  • 14
  • 40
9
votes
4 answers

org.elasticsearch.common.xcontent.DeprecationHandler Exception while using Elasticsearch REST High level client

I am getting the following exception while trying to use Elasticsearch high rest client. I'm using Spring Boot 2.0.4 and Elasticsearch 6.4 versions.. The use case is simply to create an index with some data and then retrieving the same.. 2018-08-24…
Santosh Kumar Arjunan
  • 3,600
  • 3
  • 23
  • 24