hi all,
i have a problem when be create dynamic index and dynamic mappings :
this is my _templates
PUT _template/huawei
{
"index_patterns": "huawei-*",
"settings": {
"index.refresh_interval": "5s",
"number_of_shards": 1
},
"mappings" : {
"attack" : {
"properties":{
"@timestamp":{"type":"date"},
"hostname":{"type":"keyword"},
"type":{"type":"keyword"},
"host":{"type":"keyword"},
},
}
},
"ips" : {
"properties":{
"@timestamp":{"type":"date"},
"hostname":{"type":"keyword"},
"host":{"type":"keyword"},
"action":{"type":"keyword"},
"program":{"type":"keyword"}
}
},
"ids" : {
"properties":{
"@timestamp":{"type":"date"},
"hostname":{"type":"keyword"},
"host":{"type":"keyword"},
"action":{"type":"keyword"},
"program":{"type":"keyword"},
}
},
"vpn" : {
"properties":{
"@timestamp":{"type":"date"},
"hostname":{"type":"keyword"},
"type":{"type":"keyword"},
"host":{"type":"keyword"},
"program":{"type":"keyword"}
}
}
}
}
what is missing form my configuration ?
thanks,
hambali