System:
Ubuntu 18.04
16 Cores
16Gb RAM
ELK system
ELK 7.14
Single node (Kibana, Elastic, Logstash)
All was deployed with Ubuntu apt (Install Elasticsearch with Debian Package | Elasticsearch Guide [7.14] | Elastic)
Made sure to do bootstrap settings here
(Important System Configuration | Elasticsearch Guide [7.14] | Elastic)
Purpose
Sending Zeek logs to system via Filebeat
Problem
Kibana is extremely slow to do anything. Some times it runs quick after a refresh but for the most part, graphs take forever to refresh, pages will act like they are loading and never load. Its an all around unusable system right now. Fairly certain this is a problem from some configuration I made.
Configuration files (With comments removed)
- elasticsearch.yml
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
network.host: 10.10.10.20
http.port: 9200
discovery.type: single-node
Notice I made elastic search bind to the external address.
- kibana.yml
server.port: 5601
server.host: 0.0.0.0
server.name: "localhost"
elasticsearch.hosts: ["http://10.10.10.20:9200"]
- logstash.yml
path.data: /var/lib/logstash
path.logs: /var/log/logstash
Not sure if related but, I ran into an issue with logstash that logs showed it kept crashing. I think it needed a configuration file in /etc/logstash/conf.d. So I added /etc/logstash/conf.d/02-beats-input.conf
input {
beats {
port => 5044
}
}
That stopped the error but I don't know if caused other issues.
htop shows elasticsearch, kibana, and logstash taking up the most cpu time... but thats obvious as thats all that is running on the system.
Reading online most people seem to believe that this is an issue Elastic not Kibana. I am new to ELK so I really don't know where to start trying to trouble shoot this problem, any recommendations?