Skip to content

Instantly share code, notes, and snippets.

@Jeff-Lewis
Forked from ogavrisevs/gist:f7aa5e5351f6e51e6e1f
Last active August 29, 2015 14:27
Show Gist options
  • Save Jeff-Lewis/c05cc863218f21e2b047 to your computer and use it in GitHub Desktop.
Save Jeff-Lewis/c05cc863218f21e2b047 to your computer and use it in GitHub Desktop.
ELK stack ok AWS ECS
{
"taskDefinitionArn": "arn:aws:ecs:eu-west-1:960921042111:task-definition/elasticsearch:21",
"revision": 21,
"containerDefinitions": [
{
"volumesFrom": [],
"portMappings": [
{
"hostPort": 9201,
"containerPort": 9200
}
],
"command": [],
"environment": [],
"essential": true,
"entryPoint": [],
"links": [],
"mountPoints": [],
"memory": 1024,
"name": "es-01",
"cpu": 512,
"image": "elasticsearch:1.5.2"
},
{
"volumesFrom": [],
"portMappings": [
{
"hostPort": 9202,
"containerPort": 9200
}
],
"command": [],
"environment": [],
"essential": false,
"entryPoint": [],
"links": [],
"mountPoints": [],
"memory": 1024,
"name": "es-02",
"cpu": 512,
"image": "elasticsearch:1.5.2"
},
{
"volumesFrom": [],
"portMappings": [],
"command": [
"--debug",
"-e",
"input { twitter { consumer_key => \"xxxxx\" consumer_secret => \"ddddddd\" full_tweet => true keywords => [\"Ukrainian\", \"Донбас\", \"Donbass\", \"Donetsk\", \"Luhansk\", \"Донецкая\", \"Луганская\", \"Russian\" ] oauth_token => \fffffffffffffffffffffffff\" oauth_token_secret => \"gggggggggggggggggggggggggg\" }} output { elasticsearch { host => \"es\" index => \"twitter-%{+YYYY.MM.dd}\" }}"
],
"environment": [],
"essential": false,
"entryPoint": [],
"links": [
"es-01:es"
],
"mountPoints": [],
"memory": 512,
"name": "lg",
"cpu": 512,
"image": "logstash"
},
{
"volumesFrom": [],
"portMappings": [
{
"hostPort": 5601,
"containerPort": 5601
}
],
"command": [],
"environment": [
{
"name": "ELASTICSEARCH_URL",
"value": "http://es:9200"
}
],
"essential": false,
"entryPoint": [],
"links": [
"es-01:es"
],
"mountPoints": [],
"memory": 512,
"name": "kibana",
"cpu": 512,
"image": "jimmidyson/kibana4:latest"
}
],
"volumes": [],
"family": "elasticsearch"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment