Skip to content

Instantly share code, notes, and snippets.

@mwl
Last active October 13, 2017 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mwl/f533ffe73070f6f9fcd88bd835b1e175 to your computer and use it in GitHub Desktop.
Save mwl/f533ffe73070f6f9fcd88bd835b1e175 to your computer and use it in GitHub Desktop.
{
"id": "/humio-agent",
"acceptedResourceRoles": [
"*",
"slave_public"
],
"cmd": "filebeat-5.6.0-linux-x86_64/filebeat -path.data=/var/humio/data -c filebeat-5.6.0-linux-x86_64/filebeat.yml -E \"name=${MESOS_SLAVE_ID}\" -E 'output.elasticsearch.hosts=[\"https://go.humio.com:443/api/v1/dataspaces/{DATASPACE}/ingest/elasticsearch\"]' -E 'output.elasticsearch.username={INGESTTOKEN}'",
"constraints": [["hostname","UNIQUE"]],
"container": {"type": "MESOS"},
"cpus": 0.1,
"mem": 128,
"fetch": [{"uri": "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-5.6.0-linux-x86_64.tar.gz"}],
"instances": 3,
"networks": [{"mode": "host"}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment