Apologies, pretty much a newbie to Docker and ELK. I have a Redhat system that I am trying to monitor on an Ubuntu system using ELK. I have the Ubuntu system running Elasticsearch, Logstash and Kibana 5.6.4 in separate containers and using Docker Compose to bring it up. (Tried v6, but hit a snag that Elastic said they were aware of, so just using 5.6.4 for the time being.)
I was running Linux Audit and Filebeats (6.0.0) on the RedHat system to send the log files to Logstash on the Ubuntu system and it was working.
While looking into the User ID being sent across as a number rather than the ID, came across Auditbeat which seems to combine Linux Audit and Filebeat and resolve the ID issue.
I also liked the idea of deploying the dashboards from Auditbeat, but that is when I started getting stumped. I had the three containers running Elasticsearch, Logstash and Kibana and talking happily to each other.
I had the impression that you installed the dashboards to Kibana and so installed Auditbeat in to the Kibana container (just for the purpose of installing the dashboards, not to run) and after getting past all the permissions issues in running "auditbeat setup --dashboards" got a message saying that it could not connect to Elasticsearch.
So after all that, the simple question, if you are running Elasticsearch, Logstash and Kibana in separate containers, how do you deploy the Auditbeat sample dashboards?
Should I be doing it in the Elasticsearch container?
Steep learning curve for an assembly language developer
When you start Audibeat (or any other beats) you don't need to start -setup in the same container. The beats itself need to have network access to both Elasticsearch and Kibana. It need to access Kibana to install the dashboard with the API and Elasticsearch to install the templates require by the beat you are trying to run.
Also should run the 3 products on the same version in this case 6.2.1.
Hi Pier, thanks for the reply. My understanding is that the beats will run with back level ELK. Is this correct or is it just that the templates will not deploy back level?
I have certainly had filebeats v6 working with ELK 5.6.4.
I had tried using v6 on ELK in separate containers, but hit a known bug (cannot remember which one, but stopped them talking to each other) that meant I had to go back a level hence why v6+ for the beats and 5.6.4 for ELK.
So if I did have ELK in separate containers all at v6 and talking to each other and run the auditbeat setup command from within the Kibana container, it should deploy the dashboards successfully?
Hi Pier, Thanks. Now I have just one problem, we want to use Sentinl rather than the x-pack and at the moment Sentinel is only at 6.0.0 and won't install on a later version of Kibana.
So when that hits a version past where the bug is in ELK running in separate containers, I might be able to get it to work! Other than that, guess I will have to create my own dashboards.
Any good documentation you are aware of for creating dashboards? Cheers!
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.