Seems CPU and IO is fine. No issues for GC.
Please find below are my ELK config hope it will help you to understand my configuration and suggest if anything is wrong
Linux Infrastructure for logstash, ES and Kibana
Hardware 6 CPU / 32 GB RAM
Operating System Oracle Enterprise Linux 6 FID16a 2X-Large
Logstash :
input {
kafka {
zk_connect=>"kafka1:2181,kafka2:2181,kafka3:2181,kafka4:2181,kafka5:2181"
white_list => "applogs"
group_id => "logstash-mng-applogs-uat-rtp"
codec => avro {
schema_uri => "/apps/schema/rocana3.schema"
}
}
}
filter {
de_dot {
nested => true
}
date {
match => ["ts","UNIX_MS"]
target => "@timestamp"
timezone => "America/New_York"
}
ruby {
code => "
event['ingest_time'] = DateTime.now.strftime('%Q');
event['ingest_delay'] = (1000 * (Time.now.to_f - event['@timestamp'].to_f)).round(0);
"
}
}
output {
elasticsearch {
hosts => ["es-uat-rtp-data-1.xxx.com:9200","es-uat-rtp-data-2.xxx.com:9200","es-uat-rtp-data-3.xxx.com:9200","es-uat-rtp-data-4.xxx.com:9200","es-uat-rtp-data-5.xxx.com:9200","es-uat-rtp-data-6.xxx.com:9200","es-uat-rtp-data-7.xxx.com:9200","es-uat-rtp-data-8.xxx.com:9200","es-uat-rtp-data-9.xxx.com:9200","es-uat-rtp-data-10.xxx.com:9200","es-uat-rtp-data-11.xxx.com:9200","es-uat-rtp-data-12.xxx.com:9200","es-uat-rtp-data-13.xxx.com:9200","es-uat-rtp-data-14.xxx.com:9200","es-uat-rtp-data-15.xxx.com:9200","es-uat-rtp-data-16.xxx.com:9200","es-uat-rtp-data-17.xxx.com:9200","es-uat-rtp-data-18.xxx.com:9200","es-uat-rtp-data-19.xxx.com:9200","es-uat-rtp-data-20.xxx.com:9200","es-uat-rtp-data-21.xxx.com:9200","es-uat-rtp-data-22.xxx.com:9200","es-uat-rtp-data-23.xxx.com:9200","es-uat-rtp-data-24.xxx.com:9200","es-uat-rtp-data-25.xxx.com:9200"]
index => "logstash-applogs-%{+YYYY.MM.dd}-1"
workers => 6
}
}
Master Node ES :-
cluster.name: sei-elk-uat-rtp
node.name: sundar-master-01
node.master: true
node.data: false
path.data: /apps/masterES/data
path.logs: /apps/masterES/logs
bootstrap.memory_lock: true
network.host: 01.02.03.04
http.port: 9200
discovery.zen.ping.unicast.hosts: ["master1 ip","master2 ip","master3 ip"]
discovery.zen.minimum_master_nodes: 2
http.cors.enabled: true
http.cors.allow-origin: "*"
Data Node ES :-
cluster.name: sei-elk-uat-rtp
node.name: sundar-data-01
node.master: false
node.data: true
path.data: /apps/dataES1/data
path.logs: /apps/dataES1/logs
discovery.zen.ping.unicast.hosts: ["master1 ip","master2 ip","master3 ip"]
network.host: 05.06.07.08
http.port: 9200
bootstrap.memory_lock: true
Client ES:-
cluster.name: sei-elk-uat-rtp
node.name: sundar-client-01
node.master: false
node.data: false
path.data: /apps/clientES/data
path.logs: /apps/clientES/logs
network.host: 10.138.000.00
http.port: 9200
discovery.zen.ping.unicast.hosts: ["master1 ip","master2 ip","master3 ip"]