Questions tagged [elasticsearch]

ElasticSearch is a JSON-based search and analytics engine, often associated with Logstash, which collects data, and Kibana, which visualizes the results. There are separate tags for these.

Elasticsearch is an open source distributed, RESTful search and analytics engine that stores data, such as that collected by Logstash, in a manner that allows for fast searches on a single machine or a cluster. The RESTful API and JSON allows clients in many languages including Java, Python, .NET, SQL, and PHP.

See the elastic.co product page, and the and tags.

60 questions
8
votes
1 answer

How to give RAM to the filesystem cache

I am tuning my linux machine running Elasticsearch. It says that I should give at least half the memory of the machine running elasticsearch to the filesystem cache. But I don't know how much of it is given currently to filesystem cache. How to find…
Rohanil
  • 335
  • 2
  • 3
  • 7
5
votes
1 answer

Yum install: unexpected nothing to do while upgrading elasticsearch

I'm experimenting something estrange with yum in centos7, lets see If someone understands what's happening: Usually, I upgrade packages using sudo yum install -, for example, right now, I'm trying to do an upgrade of…
grg121
  • 151
  • 4
4
votes
3 answers

How to raise max threads for elasticsearch?

I have a fresh installation of Ubuntu 16.04 and I installed elasticsearch 5 on it. Now when I try to start elasticsearch using /etc/init.d/elasticsearch start After a few seconds in the log file I read:…
Bart van den Burg
  • 403
  • 1
  • 5
  • 8
3
votes
2 answers

Change filesystem without losing data

I've got 16 nodes of elasticsearch (RHEL 7) - 18TB each, every node has a ext4 filesystem. For better efficency I need to change to XFS filesystem. Is there any tool / way which help me change filesystem without losing data? Or have I to do full…
truegunner
  • 33
  • 1
  • 1
  • 4
3
votes
1 answer

Why does a systemd unit file at `/usr/lib/systemd/system/` still works for Ubuntu?

I understand that systemd stores unit files at different locations for different versions of Linux. On RHEL, it's at /usr/lib/systemd/system/, whereas on Debian-based machines it's at /lib/systemd/system/. However, on my Ubuntu 18.04 machine, I just…
dayuloli
  • 515
  • 4
  • 14
3
votes
2 answers

Timeouts between an API and an elasticsearch server every 2 hours

We are experiencing a weird issue on our servers. (Debian 8.9) We have an API which is a PHP application. It requests an elasticsearch which instance is on a separate server. Every 2 hours, we are experiencing errors 500, it lasts during 1 or 2…
COil
  • 301
  • 4
  • 13
3
votes
2 answers

Can not run Elasticsearch on Linux Mint 18

I installed Elasticsearch on Linux Mint without any trouble. Everything according this tutorial Easy install for elasticsearch on Ubuntu 14.04. All installation steps went well. However, when I want to run easy check: curl http://localhost:9200 I…
catch23
  • 219
  • 2
  • 6
  • 15
3
votes
2 answers

Unable to start elasticsearch

Configuration : Elasticsearch Version = 5.0.1 OS = Amazon Linux AMI release 2014.03 I am using AWS m3.large instance. I have two elasticsearch nodes. For my data node(node-2) , When I started elasticsearch service with sudo service elasticsearch…
Jakir patel
  • 31
  • 1
  • 6
3
votes
0 answers

Able to ping my host but getting no route to host

I have a elasticsearch service running on MY_HOST_IP(10.x.x.xx) and port 9200. I am able to ping 10.x.x.xx from my VM, but when I try to connect elasticsearch it gives me : no route to host exception. Even when I telnet it gives me same error. I…
arpit joshi
  • 425
  • 2
  • 6
  • 13
2
votes
1 answer

what is GREEDYDATA in elasticsearch

reading the conf files of logstash i found in filter conf grok { match => { "message" => "Put\s*command\s*:\s+%{GREEDYDATA:command}" } } How does this filter work , i tried to search for GREEDYDATA but i couldn't understand
I'm V
  • 43
  • 1
  • 4
2
votes
1 answer

"unable to load jna" error on Elasticsearch on Centos

What is the solution to this? New install of elasticsearch 5.4.1 on Centos 6.8 [2017-06-15T13:54:19,140][WARN ][o.e.b.Natives ] unable to load JNA n ative support library, native methods will be disabled. java.lang.UnsatisfiedLinkError:…
2
votes
1 answer

Tile/Greographic Map in Kibana not working

I am trying to create a geographical map of my data in Kibana 5.01, and it does not work. The fact is that I do not even have the geoip.field that is required in the menu. I am sending data from IntelMQ, that is processed by logstash to get into…
Rui F Ribeiro
  • 55,929
  • 26
  • 146
  • 227
2
votes
1 answer

send json via rsyslog to elasticsearch

in our company we need aggregate services statistics for some reason we decide to use rsyslogd to send applications statistics (json format) to elasticsearch system directly (this tutorial). but we faced this issue: when send json statistics to…
2
votes
2 answers

Malicious processes open connections to China

I recently started migrating some of my company's servers to Google's compute engine. Among other things I set up a 2-node elasticsearch cluster. Today I run top command on one of the nodes and I noticed a few suspicious processes: PID USER PR…
Christos
  • 123
  • 6
2
votes
1 answer

Opposite behavior of keepalive (nginx reverse proxy on ElasticSearch)

I am setting up a nginx reverse proxy for ElasticSearch (with HTTP Basic Auth) as described in this article. This is my nginx config file: events { worker_connections 1024; } http { upstream elasticsearch { server…
dr_
  • 28,763
  • 21
  • 89
  • 133
1
2 3 4