mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Fleet] Do not query cold/frozen indices when querying for agent metrics (#159307)
This commit is contained in:
parent
b8619ec216
commit
48e783972a
1 changed files with 5 additions and 0 deletions
|
@ -70,6 +70,11 @@ const aggregationQueryBuilder = (agentIds: string[]) => ({
|
|||
query: {
|
||||
bool: {
|
||||
must: [
|
||||
{
|
||||
terms: {
|
||||
_tier: ['data_hot', 'data_warm'],
|
||||
},
|
||||
},
|
||||
{
|
||||
range: {
|
||||
'@timestamp': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue