diff --git a/docker-compose/elk/Dockerfile b/docker-compose/elk/Dockerfile index c416cf1814f5fd899d23eada4a0c59c6784b8be6..fda7ed40e1deafcb1ef144f63b6ba985f83430bf 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