I've created serveral Lens visualizations with "last value" parameter. My datas are ingested once per day. The "last value" parameter of Lens visualization has an interval of 3 hours :
How can I increase that to 12/24h ? Or just use last value without a time constraint ?
You seem to be using TSVB, not Lens. For TSVB you can select an interval for the buckets that are retrieved from Elasticsearch so you can change from the default auto (that in your case is converting into 3 hours) to any valid value.
With Lens the Last value formula does not perform any other aggregation.
In any case both visualizations are always by default constrained by the Kibana time range picker on the top right of the screen. In dashboards you can customize your time range per panel to override the global time range.
On this clip I clone an existing lens visualization (using the new metric type) to pick a very large range, so you see how the same metric can be queried for different time ranges.
Then on the Actual Dashboards set the The Custom Time Range that you to Last 24 Hours or Last Day etc whatever you want as @jsanz showed you above THEN you will always just get the last N Days
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.