Closed mwl closed 7 years ago
Current base Marathon config
{
"id": "/humio",
"instances": 2,
"cpus": 0.1,
"mem": 32,
"cmd": "filebeat-5.5.2-linux-x86_64/filebeat -e -path.data=/var/humio/data -c filebeat-5.5.2-linux-x86_64/filebeat.yml \\\n-E 'filebeat.prospectors=[{paths: [\"/var/lib/mesos/slave/slaves/*/frameworks/*/executors/*/runs/latest/stdout\",\"/var/lib/mesos/slave/slaves/*/frameworks/*/executors/*/runs/latest/stderr\",\"/var/log/mesos/*.log\",\"/var/log/dcos/dcos.log\"]}]' \\\n-E 'output.elasticsearch.hosts=[\"https://go.humio.com:443/api/v1/dataspaces/syklon/ingest/elasticsearch\"]' \\\n-E 'output.elasticsearch.username=Zu5VpZGlveulerribENf57aORF23bsIfeRzX1LKdgpvm' \\\n-E 'output.elasticsearch.compression_level=5' \\\n-E 'output.elasticsearch.bulk_max_size=200'",
"constraints": [
[
"hostname", "UNIQUE"
]
],
"fetch": [
{
"uri": "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-5.5.2-linux-x86_64.tar.gz",
"destPath": "filebeat.tar.gz"
}
],
"upgradeStrategy": {
"minimumHealthCapacity": 0,
"maximumOverCapacity": 0
},
"healthChecks": [
{
"protocol": "COMMAND",
"gracePeriodSeconds": 15,
"intervalSeconds": 5,
"timeoutSeconds": 1,
"command": {
"value": "test `find /var/humio/data/registry -mmin -1`"
}
}
]
}
Tasks