Questions tagged [elasticsearch]

Elasticsearch is a flexible and powerful open source, distributed, real-time search and analytics engine.

Elasticsearch is a flexible and powerful open source, distributed, real-time search and analytics engine. Architected from the ground up for use in distributed environments where reliability and scalability are must haves, Elasticsearch gives you the ability to move easily beyond simple full-text search. Through its robust set of APIs and query DSLs, plus clients for the most popular programming languages, Elasticsearch delivers on the near limitless promises of search technology.

http://www.elasticsearch.org

380 questions
20
votes
4 answers

Ubuntu uninstall elasticsearch

I installed elasticsearch.90.7 with a deb file in ubuntu. I tried to uninstall elasticsearch.90.7 with this command: sudo apt-get --purge autoremove elasticsearch And then I downloaded elasticsearch-1.6.0.deb to install elasticsearch 1.6. When I…
alireza
  • 313
6
votes
1 answer

ElasticSearch Server Randomly Stops Working

I have 2 ES servers that are being fed by 1 logstash server and viewing the logs in Kibana. This is a POC to work out any issues before going into production. The system has ran for ~1 month and every few days, Kibana will stop showing logs at some…
Eric
  • 1,393
5
votes
0 answers

elasticsearch using bulk insert to post JSON file

I have the following JSON file I have used awk to get rid of empty spaces, trailing, next line awk -v ORS= -v OFS= '{$1=$1}1' data.json I have added a create request at the top of my data.json followed by \n and the rest of my data. {"create":…
5
votes
1 answer

Why would a node not have shards?

I am setting up a small elasticsearch cluster and one of the nodes does not get any shards. It works, is part of the cluster - just empty (eu2 in the screenshot of head below): This node is a worker, the only difference in the configuration vs. the…
WoJ
  • 3,657
5
votes
1 answer

Elasticsearch Debugging

Our elasticsearch is a mess. The cluster health is always in red and ive decided to look into it and salvage it if possible. But I have no idea where to begin with. Here is some info regarding our cluster: { "cluster_name" : "elasticsearch", …
Beginner
  • 211
3
votes
0 answers

Curl receives empty repsonse form Elasticsearch server

I have a healthy ES cluster running on ec2. I'm tyring to connect Graylog server to the cluster using unicast, but Graylog receives an empty reponse from the unicast host. Using curl, I can reproduce the empty response. The result of curl…
3
votes
1 answer

Stopping an Elasticsearch snapshot

We do nightly snapshots to S3. They normally take ~2hrs. I have one that has been running for 4 days now. I've tried to stop it with this command: time curl -XDELETE -s…
Nate Fox
  • 193
  • 2
  • 7
3
votes
0 answers

Shutting down elasticsearch completely?

I have found a number of posts about shutting down a node or a cluster of nodes, but what about stopping all elasticsearch processes on a machine? Even after shutting down all nodes (curl -XPOST 'http://localhost:9200/_shutdown') I find that I…
Paul Lynch
  • 181
  • 1
  • 8
3
votes
2 answers

No route to host elasticsearch exception

When turning on elasticsearch, I am getting the following configuration error: [2015-04-21 20:49:45,635][INFO ][discovery.zen ] [Blackwulf] failed to send join request to master…
580farm
  • 251
3
votes
1 answer

How to rename and join an elasticsearch server preserving data?

I tested elasticsearch and decided to make a cluster. To this I renamed the node and defined a cluster cluster.name = mycluster node.name = firstnode When restarting the changes are taken into account but the existing data is not visible anymore…
WoJ
  • 3,657
2
votes
0 answers

ElasticSearch major slowdown upon big aggregations

My goal is to use ElasticSearch v1.3.2 for analyzing product cross-sales, so I need to filter for the receipts of interest (having an alcoholic product for example) and finding top selling products of each category. New data would be indexed monthly…
NikoNyrh
  • 161
2
votes
1 answer

Elasticsearch standalone mode with logstash reject data after five days

I use Logstash and Elasticsearch for our squid log store and analyze.The size of the logs increase at the speed of 40Gb per day in our freeBSD ZFS storage system. the Elasticsearch gets into failure every five days and no logs can be further…
Kindule
  • 166
1
vote
0 answers

elasticsearch creating files but not releasing them until I restart the service

I am running elastcsearch 0.90.5 and recently I have been having issues with the disk running out of space. This is not caused by my indexes increasing in size but by the elasticsearch service holding on to the disk space. If I restart the…
Stefanie
  • 11
  • 3
1
vote
1 answer

Elasticsearch Cluster State immediately goes Yellow after first index created

I run a number of standalone Logstash servers to allow review of log files from web application servers. One of these recently reported a Yellow cluster state due to unassigned shards. This is a common enough occurrence, which I usually deal with by…
Garreth McDaid
  • 3,509
  • 2
  • 28
  • 43
1
vote
1 answer

How do I make a graceful shutdown (with zero replicas)?

I am running a three node (elasticsearch) cluster currently with index.number_of_replicas: 0. I'd like to bring one of the node down for maintenance. Do I have any options to do this without increasing number_of_replicas? Shutdown API does not seem…
Ztyx
  • 1,405
  • 3
  • 15
  • 28
1
2 3