{"_id":"590a985e1c215939001f3ba2","project":"56ba46e2ce5d540d00e2d7a7","category":{"_id":"590a75a1ec0d5e190095ab38","project":"56ba46e2ce5d540d00e2d7a7","version":"56ba46e2ce5d540d00e2d7aa","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-05-04T00:28:17.696Z","from_sync":false,"order":2,"slug":"integrations","title":"Integrations"},"user":"5732062ad720220e008ea1d2","__v":0,"parentDoc":null,"version":{"_id":"56ba46e2ce5d540d00e2d7aa","project":"56ba46e2ce5d540d00e2d7a7","__v":13,"createdAt":"2016-02-09T20:06:58.727Z","releaseDate":"2016-02-09T20:06:58.727Z","categories":["56ba46e3ce5d540d00e2d7ab","5771a6b145c7080e0072927f","5771a72eb0ea6b0e006a5221","5772e5b20a6d610e00dea073","577c3006b20f211700593629","57ae587bca3e310e00538155","57ae593a7c93fa0e001e6b50","57b1f8263ff6c519005cf074","582601f155b1060f00ec4173","582a62857a96051b0070b011","58ebfae58d5a860f00851fb9","590a75a1ec0d5e190095ab38","59e5253fd460b50010237bed"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-05-04T02:56:30.076Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"## Deployment Framework Integrations\n\nIn order to easily enable viewing relevant deployment information inside the web app, LogDNA integrates with existing popular deployment frameworks. At the time of writing, we currently support Salt (aka [Saltstack](https://github.com/saltstack/salt)), but additional deployment framework integrations are planned.\n\n## Salt\n\nThe LogDNA Salt deployment integration listens for your salt state events and sends the relevant event information to LogDNA.\n\n### Setup instructions\n\n1. Install the LogDNA salt engine on your salt master with:\n```\nsudo mkdir -p /var/cache/salt/master/extmods/engines/\nsudo wget -O /var/cache/salt/master/extmods/engines/logdna.py https://raw.githubusercontent.com/logdna/saltstack/master/logdna.py\n```\n2. Add the custom extension modules directory to your salt master configuration:\n```\nmodule_dirs:\n     - /var/cache/salt/master/extmods\n```\n3. Specify your LogDNA Ingestion Key inside the engines section of your salt master configuration:\n```\nengines:\n     - logdna:\n         ingestion_key: YOUR-INGESTION-KEY-HERE\n```\n4. Restart salt-master with:\n```\nsudo service salt-master restart\n```\n\n### Viewing salt states\n\nIf you select the Salt app inside the All Apps [filter menu](doc:filters), you can see the states applied across all your hosts. Filtering by a specific source, will only show salt states applied to that particular host. As an aside, we do our best to format your salt states to look as pretty as possible.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/b1df23d-Screen_Shot_2017-10-17_at_5.00.59_PM.png\",\n        \"Screen Shot 2017-10-17 at 5.00.59 PM.png\",\n        779,\n        72,\n        \"#eaebcf\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"deployment-frameworks","type":"basic","title":"Deployment Frameworks"}

Deployment Frameworks


## Deployment Framework Integrations In order to easily enable viewing relevant deployment information inside the web app, LogDNA integrates with existing popular deployment frameworks. At the time of writing, we currently support Salt (aka [Saltstack](https://github.com/saltstack/salt)), but additional deployment framework integrations are planned. ## Salt The LogDNA Salt deployment integration listens for your salt state events and sends the relevant event information to LogDNA. ### Setup instructions 1. Install the LogDNA salt engine on your salt master with: ``` sudo mkdir -p /var/cache/salt/master/extmods/engines/ sudo wget -O /var/cache/salt/master/extmods/engines/logdna.py https://raw.githubusercontent.com/logdna/saltstack/master/logdna.py ``` 2. Add the custom extension modules directory to your salt master configuration: ``` module_dirs: - /var/cache/salt/master/extmods ``` 3. Specify your LogDNA Ingestion Key inside the engines section of your salt master configuration: ``` engines: - logdna: ingestion_key: YOUR-INGESTION-KEY-HERE ``` 4. Restart salt-master with: ``` sudo service salt-master restart ``` ### Viewing salt states If you select the Salt app inside the All Apps [filter menu](doc:filters), you can see the states applied across all your hosts. Filtering by a specific source, will only show salt states applied to that particular host. As an aside, we do our best to format your salt states to look as pretty as possible. [block:image] { "images": [ { "image": [ "https://files.readme.io/b1df23d-Screen_Shot_2017-10-17_at_5.00.59_PM.png", "Screen Shot 2017-10-17 at 5.00.59 PM.png", 779, 72, "#eaebcf" ] } ] } [/block]