Last active
August 29, 2015 14:17
-
-
Save megastef/03a35921ee613a4c075f to your computer and use it in GitHub Desktop.
Logsene + Kibana in Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull bobrik/kibana4 | |
export LOGSENE_TOKEN=$1 | |
export KIBANA_INDEX=${LOGSENE_TOKEN}_kibana | |
export KIBANA_ES_URL=https://logsene-receiver.sematext.com:443 | |
curl -XPOST ${KIBANA_ES_URL}/${LOGSENE_TOKEN}_kibana | |
docker run -d -p $2:5601 -e KIBANA_ES_URL=\"$KIBANA_ES_URL\" -e KIBANA_INDEX=\"$KIBANA_INDEX\" bobrik/kibana4 | |
echo Please use following index pattern in Kibana 4: [${LOGSENE_TOKEN}_]YYYY-MM-DD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment