Hi, Im consuming events from logstash to elastic, I have created an index template for it, Every document will have ONE of this three fields, so if a document has "uptime_seconds" the other fields will be empty, So I was wandering if I there is a way to specify in the template that those fields wil be optional?
"uptime_seconds": {
"type": "long"
}
"memory_pct": {
"type": "long"
}
"cpu_pct": {
"type": "long"
}