I am creating a canvas and I want a Time Filter bar to select a specific date and all my elements from the canvas to adapt to that new time range.
How can I do that? I have just added a filter bar in my canvas where are the rest of elements and when I select an specific date nothing happens.
Most Canvas expressions start with filters | ... for this reason. You can also group filters by assigning them a group ID, and then use filters groupName="name" | to have different filters for different elements.
Yes, I know that you can do that if you work with queries, but if you are using a savedvisualization, there is a mandatory field that says timerange that if you put a filter before it, i think it overrides the value.
I asked the Canvas team about this. You are required to provide a timerange to the savedVisualization, but the filters are also including a time range. These time ranges will get applied together using AND, so you can intersect the time ranges.
Mmmm sounds good but I still don't see the way to implement it working.
Would be so nice if you could make a small tutorial on how to combine filter bars and saveobjects since there are not on the internet.
Works with @timestamp ? Because the x-axis of my Visualization is based on that and I have the same as you but: column="@timestamp" which makes sense for me, but still not getting the expected result.
If you change your time range in your filter, the results of the visualization should change- for example, you can choose non-overlapping time ranges and see no results. This is the easiest way to verify.
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.