Hello there!
In Graylog v3 we used to query /api/search/universal/absolute/terms API to get some log metrics.
For example we queried nginx logs with params: field=status, stacked_fields=http_host,upstream_status to get something like
"terms": {
"200 - some.domain.name - 200": 369350,
"400 - some.domain.name - 400": 28904,
... etc.
}
In Graylog v4 this API has been removed.
I tried to use /api/views/search/sync to replace terms API, but stuck due to lack of documentation.
Is there any way to reproduce results of terms API with views/search/sync?