opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.69k stars 890 forks source link

[Feature Request] Auto refresh index pattern #7364

Open Nurielevi opened 3 months ago

Nurielevi commented 3 months ago

Is your feature request related to a problem? Please describe

Lately i have been adding a lot of new fields to some logs that goes into opensearch and i had a problem with some dashboards that didn't work at all and i got an error the some fields are "problematic". After a research i found out about index pattern and after refreshing it all dashboards were fixed.

Describe the solution you'd like

I would like to know if there are versions that support this feature of auto refresh index patterns.

Related component

Indexing

Describe alternatives you've considered

No response

Additional context

No response

mgodwan commented 3 months ago

@opensearch-project/admin Can you help move this to https://github.com/opensearch-project/OpenSearch-Dashboards ?

ananzh commented 3 months ago

I think the original design for not auto refreshing idx has some tradeoff concerns. For example the overhead for automatically checking and updating index patterns for every query and the unexpectedly change on visualization. We will discuss this with other maintainers.

AMoo-Miki commented 3 months ago

Thanks for your feature request. This is a popular feature and over the years, we have been looking for a safe and performant ways of achieving this.

We will post back if we arrive at a solution and plan the implementation.