walterra / kibana-milestones-vis

Kibana Milestones Visualization
Apache License 2.0
90 stars 11 forks source link

Better support for individual events #1

Closed walterra closed 4 years ago

walterra commented 6 years ago

Kibana visualizations act on aggregations. The milestones plugin uses a date histogram aggregation for its x-axis. With wider time ranges selected, Kibana might decide to aggregate at larger intervals than desired.

https://user-images.githubusercontent.com/230104/39577769-82ec5d72-4ee2-11e8-9792-a278f9f2d263.png

This limits the usefulness of the plugin for longer time ranges.

Possible solution: Investigate if a top hits aggregation could be used to get the raw dates of individual events to achieve a more detailed x-axis.

walterra commented 4 years ago

This has been solved with the release of the plugin for Kibana 7.2.0: https://github.com/walterra/kibana-milestones-vis/releases/tag/v7.2.0

The data fetching no longer relies on aggregations but gets individual documents.