Hello,
I am on ES 2.4. I am having issues with my mapping it seems. If i go into Kibana and set my index pattern name, I do not see any ".raw" fields. However, if I change my index pattern to just "*", then I get to see the .raw fields I expect to see in my index, so it must be an issue with how I create the mapping.
Here is what I do
curl -XPUT 'localhost:9200/_template/firewall?pretty' -H 'Content-Type: application/json' -d'
{
"template": "firewall-*",
"settings": {
"number_of_shards": 1
},
"mappings": {
"type1": {
"_source": {
"enabled": true
},
"properties": {
"host_name": {
"type": "string",
"index": "not_analyzed"
},
"created_at": {
"type": "date",
"format": "EEE MMM dd HH:mm:ss Z YYYY"
}
}
}
}
}
'
Please give me some assistance.
thanks