blacktop / docker-elastic-stack

ELK Stack Dockerfile
MIT License
190 stars 75 forks source link

Add curl to base image? #26

Open vanosg opened 3 years ago

vanosg commented 3 years ago

Hi, first off thanks for all the hard work you've put into this image!

Would you consider adding 'curl' to the base image? It would let users interact with the ELK API via compose or other .sh scripts. My specific use case would be to import some dashboard/visualizations from a .ndjson file that I would like to have ready to go when I start the container.

curl -X POST "localhost:5601/api/saved_objects/_import" -H "kbn-xsrf: true" --form file=@file.ndjson for example

Or perhaps you know a different way to get Kibana to import a dashboard without needing curl?

Thanks again, your work is appreciated