Last active
August 29, 2015 14:23
-
-
Save nukemberg/1ff71aa817a69470ea94 to your computer and use it in GitHub Desktop.
Puppet HTTP report elasticsearch template
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
{ | |
"template" : "puppet-*", | |
"mappings" : { | |
"puppet_report" : { | |
"_source": {"enabled": true}, | |
"dynamic_date_formats": ["yyyy-MM-dd HH:mm:ss.SSSSSS ZZ"], | |
"properties" : { | |
"configuration_version" : { | |
"type" : "string", | |
"index": "not_analyzed" | |
}, | |
"host" : { | |
"type" : "string", | |
"index": "not_analyzed" | |
}, | |
"run_type" : { | |
"type" : "string", | |
"index": "not_analyzed" | |
}, | |
"status" : { | |
"type" : "string", | |
"index": "not_analyzed" | |
}, | |
"puppet_version": { | |
"type": "string", | |
"index": "not_analyzed" | |
}, | |
"resource_statuses": { | |
"dynamic": false, | |
"enabled": false, | |
"type": "object" | |
} | |
} | |
} | |
} | |
} |
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
[agent] | |
report=true | |
reports=store,log,http | |
reporturl=http://localhost:9200/puppet-reports/puppet_report/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment