Thank you for the reply.
In order to build a simple metric visualization with metricbeat data, that shows how many indices have been created today, I need a field in the metricbeat event that says when the indices have been created, but this specific field is not present.
This is an example of a REAL metricbeat event
{
"@timestamp": "2017-10-12T08:05:34.853Z",
"beat": {
"hostname": "host.example.com",
"name": "host.example.com"
},
"elasticsearch": {
"cluster": {
"id": "UziYVLPkTTmCzccc6102Bg",
"name": "elasticsearch"
},
"index": {
"name": "filebeat-7.0.0-alpha1-2018.05.09",
"total": {
"docs": {
"count": 1,
"deleted": 0
},
"segments": {
"count": 1,
"memory": {
"bytes": 6983
}
},
"store": {
"size": {
"bytes": 19326
}
}
}
}
},
"metricset": {
"host": "127.0.0.1:9200",
"module": "elasticsearch",
"name": "index",
"rtt": 115
},
"service": {
"name": "elasticsearch"
}
}
This is an example of a what I would have in a metricbeat event
"@timestamp": "2017-10-12T08:05:34.853Z",
"beat": {
"hostname": "host.example.com",
"name": "host.example.com"
},
"elasticsearch": {
"cluster": {
"id": "UziYVLPkTTmCzccc6102Bg",
"name": "elasticsearch"
},
"index": {
"created_at":"2017-10-11T08:05:34.853Z"
"name": "filebeat-7.0.0-alpha1-2018.05.09",
"total": {
"docs": {
"count": 1,
"deleted": 0
},
"segments": {
"count": 1,
"memory": {
"bytes": 6983
}
},
"store": {
"size": {
"bytes": 19326
}
}
}
}
},
"metricset": {
"host": "127.0.0.1:9200",
"module": "elasticsearch",
"name": "index",
"rtt": 115
},
"service": {
"name": "elasticsearch"
}
}
Is the same event but in the index
object there a created_at
field.
I apologize if I didn't explain properly my context.
Thank you very much again.