Hello?
I have a simple question for query of timelion kibana.
i want to draw the total documents count of specific index.
Here is query sample.
.es(
index=test*,
timefield=@timestamp,
q='elasticsearch.index.name:test-01-2020.09.04',
metric='avg:elasticsearch.index.total.docs.count')
But it seems to problem, because the date is static...
So I change query likes
q='elasticsearch.index.name:test-01-*' but it seems to get all documents count...
Is there any solution for set current time ranges?
i want to change query likes
.es(
index=test*,
timefield=@timestamp,
q='elasticsearch.index.name:test-01-* AND timernage:current time',
metric='avg:elasticsearch.index.total.docs.count')
I try to set time ranges likes
q='@timestamp:[now-15m/d TO now/d] AND elasticsearch.index.name:df-pipeline-dev_airflow-worker-*' But it seems get all documents include all yyyy.mm.dd index!
Thanks!