Dev Tools: How to create a new index on existing index

I have an index. I am creating a bucket aggregation using Dev Tools (GET method). How do I use this bucket aggregation in visualization? Do I need to create a new index for the GET.. and then visualize? Or, I could use the GET...script in the visualization?

Many visualisations create necessary aggregations internaly.

When you set timestamp field to Horizontal axis at Line chart of Lens, date histogram aggregation are used. You can check what kind of aggregation used by Inspect button.

If you want to use fully customized aggregation query, Custom visualization using vega/vega-lite will help you.

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