Perhaps I'm not understanding how terms work with rollups.
Attempting to summarize metricbeat details into hourly rollup indexes, but when using the rollup index on a Lens the value of host.hostname.terms.value is just couple of GUID values (not all of the various server hostname values where metrics have been gathered from).
Was expecting to have rollup index containing calculated min, max, avg values available to be grouped by the terms.
What exactly does specifying Terms do? Thought that allowed for filtering as well as grouping on those terms, but clearly that isn't possible since its just showing a GUID.
Here's the test rollup job definition...
PUT _rollup/job/rollup-metricbeat-202205
{
"index_pattern": "metricbeat-7.16.3-2022.05.01",
"rollup_index": "rollup-metricbeat-202205",
"cron": "0 1 * * * ?",
"page_size": 1000,
"timeout": "600s",
"groups": {
"date_histogram": {
"fixed_interval": "60m",
"field": "@timestamp",
"delay": "1h",
"time_zone": "UTC"
},
"terms": {
"fields": [ "windows.service.name", "host.hostname", "windows.service.state", "mssql.database.name" ]
}
},
"metrics": [
{
"field": "system.cpu.idle.pct",
"metrics": [
"avg",
"max",
"min"
]
},
:snip: