index pattern missing some fields when I sent JSON data over BULK.
If I use it without bulk, I can see all the fields in index pattern.
here is my bulk request
curl -X POST "http://x.x.x.x:9200/_bulk" -H "Content-Type: application/json" --data-binary "@test.json"
index is
PUT /packets-2019-11-24
{"mappings":
{"doc":{
"properties":{
"index" : {"type":"nested"},
"timestamp":{"type":"date"},
"layers":{
"properties":{
"tcp":{
"properties":{
"tcp_tcp_srcport":{"type":"integer"},
"tcp_tcp_dstport":{"type":"integer"}
}
}
}
}
}
}
}
}