Hello Everyone,
Has anyone got any experience getting _size field to get indexed?
We’re using Graylog 2.1.1 and we’d have to estimate the size from different sources.
I got the idea from https://github.com/Graylog2/graylog2-server/issues/2324
And I believe had successfully applied the mapping.
Like so:
{
"mappings": {
"message": {
"_size": {
"enabled": true
},
"dynamic_templates": [
{
"internal_fields": {
"mapping": {
"index": "not_analyzed",
"type": "string"
},
"match": "gl2_*"
}
},
{
"store_generic": {
"mapping": {
"index": "not_analyzed"
},
"match": "*"
}
}
],
"properties": {...}
}
But I still wasn’t able to show _size field from searches.
I have cycled the indexes and restarted elasticsearch data nodes several times.
Thanks,
Jan