From e5f6d371830e9c307c4c736f006025b337a0ea1a Mon Sep 17 00:00:00 2001 From: Jan David Mol <mol@astron.nl> Date: Wed, 31 Mar 2021 20:59:37 +0200 Subject: [PATCH] Improved documentation. --- docker-compose/elk/Dockerfile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/docker-compose/elk/Dockerfile b/docker-compose/elk/Dockerfile index c416cf181..fda7ed40e 100644 --- a/docker-compose/elk/Dockerfile +++ b/docker-compose/elk/Dockerfile @@ -7,11 +7,12 @@ ENV ES_CONNECT_RETRY=60 ADD logstash /etc/logstash/ # Provide our kibana config -# See also https://www.elastic.co/guide/en/kibana/7.x/saved-objects-api-import.html -# and https://github.com/Bitergia/archimedes # -# For now, start the container and run in this directory +# For now: +# 1. Start the container, +# 2. Make sure there are log messages in the database (to populate their patterns), +# 3. Run in this directory +# $ curl -X POST http://localhost:5601/api/saved_objects/_import -H "kbn-xsrf: true" --form file=@kibana/default-objects.ndjson # -# $ curl -X POST http://localhost:5601/api/saved_objects/_import -H "kbn-xsrf: true" --form file=@kibana/default-objects.ndjson - - +# See also https://www.elastic.co/guide/en/kibana/7.x/saved-objects-api-import.html +# and https://github.com/Bitergia/archimedes -- GitLab