Canvas time filter < 24 hours

Is it possible to configure the time filter element to filter on a shorter period than 24 hours? Say, for example, 1 minute, or 15 minutes?

Currently, there is no way to do this from the UI. If you want to change the code directly , You can add your own custom quick ranges to this array inHere https://github.com/elastic/kibana/blob/d205f1e45606ea589db7174e5a05cfca4fc8f30c/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/datetime_quick_list/datetime_quick_list.tsx#L25-L33

we have this issue here to make the time picker customizable in the advanced settings [Canvas] Customizable time picker · Issue #33867 · elastic/kibana · GitHub

Thanks
Rashmi

Thanks, Rashmi. It looks like my files are arranged a little different, but I found that section in:

/usr/share/kibana/x-pack/legacy/plugins/canvas/canvas_plugin_src/renderers/time_filter/components/time_picker/time_picker.js

I added the following entry:

{ from: 'now-15m', to: 'now', display: 'Last 15 minutes' }

I restart Kibana, but am not seeing the 15 minute time period. Is there a cache that I need to flush or something for the change to take effect?

Thanks,
Collin

Tagging @Catherine_Liu - to shed more light here.

Thanks
Rasmi

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.