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.

Filter by
Sorted by
Tagged with
0
votes
1answer
27 views

HTTPD Redirect Rule as Proxy is giving me file not found error. How do I proxy to an external url?

I have a reverse proxy to AWS Elasticsearch. I am having issues with using RedirectRule: no matter what I try, my URL is being interpreted as a file. SSLProxyEngine On ProxyRequests On ...
0
votes
0answers
13 views

How to change strict security requirements with AWS Kibana

I am proxying AWS Kibana and need a way to prevent the message This Elastic installation has strict security requirements enabled that your current browser does not meet. Is there a way to allow ...
0
votes
0answers
14 views

Opendistro elasticsearch uses only half of the cpu cores

We are use opendistro elastic on kubernetes cluster with two CPUs server. Elasticsearch uses only first cpu's cores. How can I get it to use all CPUs. CentOS Linux release 7.8.2003 CPU E5-2640 v4 @ 2....
0
votes
1answer
21 views

Auditbeat exclude /usr/sbin/cron

I'll tried to exclude event from cron jobs running that can be found with the KQL request : auditd.summary.how :"/usr/sbin/cron" My host does not running SE Linux, so the rules i found (put ...
0
votes
0answers
36 views

Cannot verify artifacts.elastic.co's certificate

I am under a corporate firewall, when trying to get the key of elasticsearch, I am getting the following: wget -4 -v https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - --2021-01-...
0
votes
1answer
142 views

No valid OpenPGP data found - Elasticsearch wget

I am trying to install elasticsearch on Ubuntu 20.04, but I am getting the following error: home@VirtualBox$ wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - gpg: no ...
0
votes
0answers
24 views

Curl argument list too long error in elastic search mapping and setting

mapping=(</index_automation/{product}/mapping/Mapping/"$tempmappingfile") settings=(</index_automation/{product}/mapping/Mapping/"$tempsettingsfile") dataraw="{{...
0
votes
0answers
27 views

Missing fields in kibana filter

OS : Centos 7.4, ELK Version: 7.6.2 I am trying to count how many hosts are configured in the ELK stack and for some reason beat.hostname.keyword is not pulling any data. If i use the default metric ...
0
votes
1answer
378 views

Kibana service won't start

I am using Manjaro and installed elasticsearch and kibana with yay -S elasticsearch kibana Starting the elasticsearch service works well sudo systemctl start elasticsearch I've configured kibana ...
0
votes
1answer
240 views

What is fields.yml file

Here I have installed packetbeat. So in the time learning the configuration for packetbeat I saw a file fields.yml in the directory /etc/packetbeat. I tried to get any information about that file but ...
0
votes
0answers
113 views

Configure ingest manager in elasticseach 7.9

I have configured ELK on a single VM ( Centos 7 / 10Gig / 4 CPU) along with filebeat and auditbeat as POC and encountered the below error while trying to use the ingest manager. I followed the ...
0
votes
0answers
15 views

hearthbeat can't run

I have ELK server, and sending Heartbeats to server. I added an monitor in monitors.d directory, added setup.dashboards.enabled: true line in heartbeat.yml file, but after restarting heartbeat service,...
0
votes
0answers
8 views

Mapper_parsing_exception when migrating index from 5.6 to 7.9

I am trying to migrate the index from version 5.6 to 7.9 and seeing the below error reason" : "failed to parse field [fields] of type [text] in document with id 'AXQd0YETZkyCPebFFOUB'. ...
4
votes
1answer
609 views

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 <package_name>-<version_info>...
0
votes
1answer
186 views

Gmake on FreeBSD: exec: “clang”: executable file not found in $PATH [closed]

I'm trying to install Filebeat (elasticsearch log shipping) on PfSense 2.4.5. I follow the instruction from: https://blog.securitybits.io/2019/12/beats-7.5.0-on-pfsense-2.4.4/ At the make step, I got ...
0
votes
1answer
215 views

Elasticsearch curator not deleting old indices

I am using Elasticsearch + Kibana + File-/Metric-/Winlogbeat to summarize my logfiles. To not fill up my HDD with tons of logs I wanted to just keep them 14 days - so I installed Curator to do this ...
4
votes
3answers
7k views

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 ...
-1
votes
2answers
858 views

How can I create a menu item for terminal-applications starting in background mode

I want to start e.g. my ElasticSearch instance which is installed manually via one-click in the cinnamon menu. What I can do is /opt/elasticsearch-1.6.2/bin/elasticsearch & and the application is ...
-1
votes
2answers
15k views

How do i completely uninstall ELK?

I search on internet that we have to unistall each of the ELK part one by one like unistall stand-alone kibana, elastic search, and logstash. Is there any command which no need to unistall all of them ...
1
vote
2answers
9k views

Elasticsearch cannot open log file: Permission denied

The error I installed Elasticsearch on CentOS using rpm and am encountering this error when I try to start it via systemctl start elasticsearch: Feb 20 21:08:34 server.cberdata.org systemd[1]: ...
0
votes
1answer
2k views

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 ...
0
votes
1answer
29 views

Unable to remove the unwanted messages(especially Auditbeat) in my centos server

I need your help in solving the below mentioned Issue. I have Installed Auditbeat-7.3.1 as a part of ELK setup in my centos server. Everything was working well, But i was facing problem while ...
1
vote
1answer
196 views

rsyslog error in logstash

I have installed ELK and tried to configure rsyslog server with logstash but i am getting lot of \ while executing curl -XGET 'http://172.22.63.61:9200/logstash-*/_search?q=*&pretty' Rsyslog ...
0
votes
1answer
203 views

How can I set the Java heap size for elasticsearch on Nixos?

It seems these should go in the ${configDir}/jvm.options"} (/var/lib/elasticsearch/config/jvm.options ?) looking at the package at https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/services/...
2
votes
2answers
4k views

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 ...
0
votes
1answer
93 views

unable to connect with localhost (11.213.234.24) on port 9200 from vagrant

I am running vagrant from a virtual box with centos. Trying to connect my localhost on port 9200 from vagrant by using (curl -X GET 'http://11.213.234.24:9200'). Getting below error curl: (7) couldn'...
0
votes
1answer
482 views

Elasticsearch fails to start with 'permissions read' error even though read permissions exist

I have a symlink at /etc/elasticsearch/analysis that points to a mounted drive at /elasticdata/fileshare/analysis on Ubuntu 16.04 LTS Azure VM. When I try and start elasticsearch I am getting the ...
0
votes
0answers
28 views

Elasticsearch process run under weird username

I have Elasticsearch 1.7.3 running successfully on CentOS7. However, I observed: %ps -aux | grep elastic **209** 10504 85.0 29.2 36122740 19283600 ? SLl 04:02 0:05 /usr/bin/java -Xms30g -...
0
votes
1answer
533 views

Advantage of elasticsearch over grep when trying to search keyword in logs files [closed]

I know elasticsearch is good for full text search but when it comes to analyze logs, say nginx logs what is the advantage of using it over grep (with tail, awk, etc.) ? Quite of often I dig through ...
0
votes
1answer
27 views

How to operate on a directory with different owner from a script?

Few days ago i have installed elasticsearch, For diagnosing some problems on my elasticsearch setup, i have checked the logs files located in /var/log/elasticsearch and tailed them but apparently the ...
0
votes
1answer
673 views

problem re-loading index from filebeat in elasticsearch

I am using the ELK stack (more ELG stack as I am using Grafana as the front end instead of kibana for personal reasons). I am using Filebeat to send the logs file to Logstash which are then stored in ...
3
votes
1answer
1k views

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/...
0
votes
1answer
320 views

One port is listening with an * and the other is listening with 127.0.0.1 and only the first is accepting remote connections

Please see the attached picture below, and then I will explain: So, I have Solr running which uses port 8983. And as you can see in the screen shot, it's listed as "TCP *:8983 (LISTEN)". And, it's ...
0
votes
1answer
665 views

Can I lock down access to a TCP port in Linux

I'm trying to secure a single-node Elasticsearch machine. Basically, I want to put Elasticsearch behind a reverse proxy (nginx) and make sure that the only way any user or process can communicate with ...
0
votes
1answer
185 views

logstash - take 2 - filter to send messages from IntelMQ/python/redis to ELK

Following up on the heels of this question, https://stackoverflow.com/questions/40768603/logstash-trying-to-make-sense-of-strings-passed-by-intelmq-in-elasticsearch I am trying to create a refine/...
1
vote
1answer
3k views

How is JVM memory usage calculated?

I am tuning my Elasticsearch cluster, and see that the memory usage doesn't line up. Running "free" on my instance: free total used free shared buff/cache ...
1
vote
1answer
3k views

How to start elasticsearch on a CentOS?

I have downloaded the latest elasticsearch version 5.5.1 on my Centos 7 server from https://www.elastic.co/downloads/elasticsearch. I have unzipped the file and store it in elasticsearch directory. ...
3
votes
2answers
342 views

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 ...
0
votes
1answer
447 views

Kibana- Want to split vertical bars based on my log fields

I have an application log file consists of following log levels: INFO, WARN, ERROR, DEBUG. Following filter criteria works fine in logstash config file: filter { grok { match => { "...
4
votes
1answer
9k views

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 ...
0
votes
1answer
519 views

How to enable kibana at startup

I just downloaded kibana-4.3 tar file , extract it and it works fine. But i want to enable the service at system startup and i got the error by using chkconfig command: service kibana does not ...
3
votes
2answers
328 views

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 ...
0
votes
1answer
224 views

Send Apache Catalina Logs to Logstash

Dependencies : OS Version : CentOS 5.0 Server Environment : Production Logstash Version : 5.0 Elasticsearch Version : 5.0 I have several app servers running on CentOS 5.0. All these are on-...
2
votes
1answer
4k views

“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 ...
3
votes
2answers
3k views

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 ...
1
vote
1answer
249 views

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 ...
0
votes
1answer
294 views

Munin plugins for Elasticsearch v2.x

Are there any Munin plugins available for Elasticsearch v2.x? I know that there are some for v1.x but these are not compatible with v2.x.
1
vote
1answer
1k views

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 ...
2
votes
1answer
13k views

ElasticSearch ports in iptables

I have setup an elastic-search cluster with two data nodes, one master node and one client node with kibana. I was running it with iptables disabled on each node. Now I need to enable iptables and I ...
0
votes
1answer
887 views

authenticating ldap users with searchguard for elasticsearch

I have an elastic-search setup with search-guard plug-in. My elastic-search web access is behind single sign on proxy , and i want to authenticated users coming through SSO according to their roles in ...