Hi ,
Below are my mappings
PUT _template/prod
{
"index_patterns": ["*"],
"settings":{
"codec": "best_compression",
"number_of_shards": 1,
"number_of_replicas": 1
},
"mappings": {
"doc": {
"_size": {
"enabled": true
},
"properties": {
"dst_ip": {
"type": "ip"
},
"src_ip": {
"type": "ip"
},
"notification": {
"properties": {
"threatInfo": {
"properties": {
"indicators": {
"type": "nested",
"properties": {
"indicatorName": {
"type": "text"
},
"sha256Hash": {
"type": "text"
},
"applicationName": {
"type": "text"
}
}
}
}
}
}
}
}
}
}
}
After indexing the document, i dont see its properly nested.