Unable to remove Default data view

“I have multiple data views for different dashboards, but the default data view keeps loading even for dashboards where it’s not used. I want to remove the default data view—how can I do that?”

ELK stack version: 8.16.1

Hello @mittal_rawal

Welcome to the Community!!

Can you please share any screenshot or more details for the issue described above?

Generally we have dataviews in multiple spaces & in each space we have 1 default dataview which can be updated using below navigation-option :

So in your case the issue is not clear.

Thanks!!

yes,

my query is can we keep default dataview as null?

Hello @mittal_rawal

I believe we cannot set the default dataview as null.

But below is the WA which can be used if you want to keep it as null =>

Create a null index (PUT /index_null)
Create a dataview null => index_null
Make this dataview as default

Now while loading Discover it will use this dataview :

Thanks!!

Hi @mittal_rawal,

The default data view can be unassigned by resetting `defaultIndex` configuration on Advanced Settings page.

Thank you @jughosta

Can you please confirm if it will load nothing?

Checked on ELK Version : 9.0.2

I tried below & see that it still loads the Default Set Dataview :

Logged Out & Logged In after this change / Even Restarted Platform =>

It loads the Default DateView even though setting is Null/Blank in Advanced Settings :

Thanks!!

Hello @mittal_rawal

Can you please share how did you fix this issue?

Thanks!!