From 9f72d2c8043495cb2e04bc74c20ca572aafaa070 Mon Sep 17 00:00:00 2001 From: Chris Dituri Date: Thu, 23 Apr 2015 21:34:30 -0500 Subject: [PATCH 1/2] README.md: mention docker-compose -d switch to run detached in background --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86c45f9..ab9a766 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Based on 3 Docker images: 2. Install [Docker-compose](http://docs.docker.com/compose/install/). 3. Clone this repository 4. Update the logstash-configuration in logstash-conf/logstash.conf (test your filters here) -5. docker-compose up +5. docker-compose up (-d to run detached in the background) 6. nc localhost 5000 < /some/log/file.log 7. http://localhost:8080 to see the messages show up in Kibana 3. 8. http://localhost:5601 to use Kibana 4. From 8ab8d4b913ee42d73e2a066b3a0550df9b62baa0 Mon Sep 17 00:00:00 2001 From: Chris Dituri Date: Thu, 23 Apr 2015 21:34:50 -0500 Subject: [PATCH 2/2] README.md: add note about running under SELinux-enabled systems --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index ab9a766..466e771 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,15 @@ Based on 3 Docker images: 1. Install [Docker](http://docker.io). 2. Install [Docker-compose](http://docs.docker.com/compose/install/). 3. Clone this repository + +NOTE: on distributions which have SELinux enabled out-of-the-box you will need to either +re-context the files or set SELinux into Permissive mode in order for fig-elk to start +properly. For example on Redhat and CentOS, the following will apply the proper context: +``` +.-root@centos ~ +`-$ chcon -R system_u:object_r:admin_home_t:s0 fig-elk/ +``` + 4. Update the logstash-configuration in logstash-conf/logstash.conf (test your filters here) 5. docker-compose up (-d to run detached in the background) 6. nc localhost 5000 < /some/log/file.log