You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A change to a query/tab, or introducing a new tab (duplicate or +) should only initiate searches/queries required to fulfill what is being displayed within that tab.
Current Behavior
Any change initiating a view search (e.g. add or duplicate a tab, change a widget's configuration, change the search query or time range) invokes /api/views/search/ID_HERE/execute, which results in all tabs' searches being executed. When dealing with relatively large searches a trivial change can have a huge performance impact.
Steps to Reproduce (for bugs)
Have a Graylog environment with non-trivial amounts of data
Create a view with 10+ queries/tabs interacting with all (or a fair amount) of the aforementioned data in various ways.
Create a new query/tab within the view that has the default 5 minute search window, etc.
Note the time taken is significantly longer than if you had done a "legacy" search in that same 5 minute search window, since all searches required for all queries/tabs of the view are executed.
Context
We've been investigating an issue and created some view queries/tabs to easily switch between certain timeframes. I noticed the time taken continued to grow as queries/tabs were added, and eventually even a default query/tab in the view took over 30 seconds to display.
IMO this should be high priority, as it will have an outsized effect on the user experience when using the multi-tab dashboards, such as those packaged with Illuminate & Security.
Expected Behavior
A change to a query/tab, or introducing a new tab (duplicate or
+
) should only initiate searches/queries required to fulfill what is being displayed within that tab.Current Behavior
Any change initiating a view search (e.g. add or duplicate a tab, change a widget's configuration, change the search query or time range) invokes
/api/views/search/ID_HERE/execute
, which results in all tabs' searches being executed. When dealing with relatively large searches a trivial change can have a huge performance impact.Steps to Reproduce (for bugs)
Context
We've been investigating an issue and created some view queries/tabs to easily switch between certain timeframes. I noticed the time taken continued to grow as queries/tabs were added, and eventually even a default query/tab in the view took over 30 seconds to display.
This is related to #6849.
Your Environment
The text was updated successfully, but these errors were encountered: