Docker - how to run a Kibana container with specific index

Hello,

I need to run a kibana container with index named extract_logs (I am new user of Docker).

How can I do that ? Should I put KIBANA_INDEX= in docker run or should I put it in the Dockerfile ?

docker run --name kibana -e ELASTICSEARCH_URL=http://10.10.10.1:9200 KIBANA_INDEX=... -p 5602:5601 -d kibana_test

Thanks for advance :smiley:

Hi there, when you say run Kibana with the extract_logs index, do you mean that you want to create this index in Elasticsearch? If so, then does this data already exist as an Elasticsearch snapshot that you can then restore, or is it possible to create a snapshot of it?

Thanks,
CJ

Hello @cjcenizal,

Yes I would like to create an index in my Elasticsearch. Is that possible ?

You usually use Logstash to create your index but you can also use Beats or the Elastic Search API as well..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.