I have an Ubuntu 18.04 server with ELK installed and configured on it.
For ELK I followed this tutorial :
When I go to Kibana, there is no data. Yet my configuration looks correct. Do you have an idea ?
ubuntu@monitoring-example-com:~$ sudo filebeat modules enable system
:
Enabled system
ubuntu@monitoring-example-com:~$ sudo filebeat setup --template -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'
:
Index setup complete.
ubuntu@monitoring-example-com:~$ sudo filebeat setup -e -E output.logstash.enabled=false -E output.elasticsearch.hosts=['localhost:9200'] -E setup.kibana.host=localhost:5601
:
ubuntu@monitoring-example-com:~$ sudo systemctl start filebeat
ubuntu@monitoring-example-com:~$ sudo systemctl enable filebeat
:
Synchronizing state of filebeat.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable filebeat
ubuntu@monitoring-example-com:~$ curl -XGET 'http://localhost:9200/filebeat-*/_search?pretty'
:
{
"took" : 1,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 0,
"relation" : "eq"
},
"max_score" : null,
"hits" : [ ]
}
}