Created
January 21, 2014 21:33
-
-
Save VAdamec/8548823 to your computer and use it in GitHub Desktop.
Set @fields to not analyzed (to get full alert description not exploded parts)
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
curl -XPUT http://localhost:9200/_template/logstash_ossec -d '{ | |
"template" : "*ossec*", | |
"settings": { | |
"number_of_shards": 12, | |
"number_of_replicas": 1 | |
}, | |
"mappings": { | |
"ossec": { | |
"_all": { | |
"enabled": false | |
}, | |
"_source": { | |
"compressed": true | |
}, | |
"properties": { | |
"DESCRIPTION": { | |
"type": "string", | |
"index": "not_analyzed" | |
} | |
} | |
} | |
} | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment