size 0) com agregações term e histogram sobre o índice logs-*. Sobrescreve o intervalo em filters.received_at com a janela de últimos histogram_days (UTC) combinada aos demais filtros enviados.curl --location -g --request GET 'https://horus-api.lucaskaiut.com.br/api/logs/summary?histogram_days=14&filters[level]&filters[channel]' \
--header 'Authorization: Bearer <token>'{
"data": {
"total": 0,
"with_exception_count": 0,
"period": {
"from": "2019-08-24",
"to": "2019-08-24",
"histogram_days": 0
},
"by_level": [
{
"key": "string",
"count": 0
}
],
"by_channel": [
{
"key": "string",
"count": 0
}
],
"by_source": [
{
"key": "string",
"count": 0
}
],
"by_environment": [
{
"key": "string",
"count": 0
}
],
"histogram": [
{
"date": "2026-04-01",
"count": 0
}
]
}
}