<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced stream retrieval functionality by adapting the filtering
mechanism to use stream types instead of selected streams, improving the
accessibility of streams in the application.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#4142 got solved by this PR
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced the search functionality to refresh histogram data
automatically upon initiating a search, ensuring users see the most
current results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved user experience with enhanced loading state management during
log data retrieval.
- **Bug Fixes**
- Streamlined error handling to ensure loading states accurately reflect
data retrieval processes.
- **Refactor**
- Enhanced code readability and maintainability by simplifying logic and
improving variable formatting.
- **Chores**
- Removed unnecessary commented-out code to clean up the codebase.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This PR fixes#4098 so when there is an error in values api then the
spinner / loading icon will be stopped and as well as it shows no value
found
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Enhanced error handling in the IndexList component to ensure accurate
loading states during asynchronous operations, preventing indefinite
loading indicators and improving overall user experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Replace first column `*` with the current second in cron expression
while saving report and alerts
- Introduce vrl functions in alerts. The new field `vrl_function` in
alert payload stores the vrl function in the alert in base64 encoded
format.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Summary by CodeRabbit
- **New Features**
- Introduced an optional field for alerts to allow the association of
VRL functions.
- Enhanced scheduling for alerts and reports by dynamically modifying
cron expressions to include the current second.
- Added a VRL function editor in the Scheduled Alert component for
improved query editing, with toggles for enhanced user interactivity.
- Improved query construction with optional parameters and enhanced
error handling for timestamp handling.
- **Bug Fixes**
- Improved robustness of the alert and report scheduling systems with
better handling of cron expressions.
- Enhanced error handling for decoding failures related to VRL functions
in alerts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: omkark06 <omkar@zinclabs.io>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Adjusted the logs display settings to show fewer rows per page (from
250 to 100), enhancing navigation and making log entries more manageable
for users.
- **Bug Fixes**
- Updated test cases to reflect the change in pagination display,
ensuring consistency between the UI and the expected outcomes in tests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced the alert submission process with strict validation for SQL
queries to prevent selection of all columns.
- **Bug Fixes**
- Improved control flow in the alert form, ensuring form submission only
occurs with valid SQL queries.
- **Style**
- Minor formatting adjustments made for improved readability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
When user update we `clean` the `USER_RUM_TOKEN` and in the next we
never set `{DEFAULT_ORG}/{token}` back to `USER_RUM_TOKEN`, so the RUM
ingestion report token not found for root user.
The solution is we don't `clean` the tokens, just `remove` the token
which already invalid. also will add `{DEFAULT_ORG}/{token}` if it is
root user when we fetch data from db.
fixes#4115
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced security for user role management by preventing changes to
the role of users with the 'Root' designation during updates.
- **Bug Fixes**
- Resolved potential privilege escalation by ensuring only non-'Root'
user roles can be modified.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Bug Fixes**
- Enhanced data handling to prevent processing of empty values, ensuring
more robust performance.
- Improved control flow to skip unnecessary actions for iterations with
empty results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
1. Logs count fix when moving back and forth (this was the issue that
came up when I have fixed the different logs count showing at first )
2. Fixed another issue that onMount in histogram mode when we move to
any other page and comeback to first page it shows 0 total count.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced handling of query results for improved accuracy in data
representation.
- Introduced dynamic time parameters for queries based on pagination,
optimizing data retrieval.
- **Bug Fixes**
- Addressed potential discrepancies in the total count of query results.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced batch deletion functionality for log streams, allowing
users to delete multiple streams at once.
- Added a confirmation dialog to confirm batch deletion actions.
- New button for initiating batch deletion based on selection state.
- **UI Enhancements**
- Updated user interface to better support batch operations and improve
user feedback.
- Minor styling adjustments for seamless integration of new features.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Now we use sql to plan to execute the query.
we split the PhysicalPlan to two stage:
1. Partial plan, it can be distributed will run on all the nodes.
2. Final plan, it can't be distributed will run on the leader querier
and merge the result.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Updated to version 0.10.9, introducing enhancements and new
dependencies for improved data processing functionalities.
- Added new Protocol Buffers schemas to define structures for cluster
management and data processing frameworks, enhancing integration
capabilities.
- **Bug Fixes**
- Improved error handling in configuration to prevent runtime panics.
- Enhanced logic in caching mechanisms for more reliable query
responses.
- **Documentation**
- Added module declarations to improve organization and clarity within
the codebase.
- **Refactor**
- Streamlined execution plans and SQL processing for better performance
and maintainability.
- **Tests**
- Introduced new functions for log ingestion in test suites to enhance
reliability and coverage.
- **Style**
- Made formatting adjustments across various files to improve
readability and consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Neha P <neha@openobserve.ai>
Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Expanded automated testing coverage by adding new UI test files for
dashboard management and logging visualization functionalities.
- Enhanced dashboard UI tests now cover creating, modifying,
duplicating, and applying filters to dashboards.
- Introduced tests for verifying user interactions with logging
visualizations, including error handling and data persistence.
- Added tests for Virtual Reference Language (VRL) features within the
dashboard, validating function applications and error handling.
- **Bug Fixes**
- Improved error handling in UI tests to ensure that invalid inputs
trigger appropriate error messages.
- **Tests**
- Comprehensive test cases implemented for various user interactions
across new features, ensuring functionality works as intended.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new boolean field to enhance log search functionality.
- **Improvements**
- Updated log search logic to include a timestamp column when
applicable.
- Enhanced UI elements for conditional rendering based on log search
criteria, improving clarity and relevance.
- **Tests**
- Updated UI testing scripts to reflect changes in focus from the
timestamp field to the job field, ensuring alignment with the updated
application interface.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Updated critical dependencies to enhance software capabilities.
- Improved data structure management in StreamTable and Geoip
implementations for better performance and clarity.
- **Bug Fixes**
- Enhanced efficiency of entry removal in the data persistence process.
- **Chores**
- Routine updates to external package versions for improved
functionality and security.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fixes#4080
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved IP address parsing logic to handle both `IpAddr` and
`SocketAddr`, enhancing versatility with input formats.
- Added a fallback mechanism to default to the loopback address in case
of parsing failure.
- **Bug Fixes**
- Enhanced error handling in IP address parsing to ensure functionality
with invalid input.
- **Tests**
- Introduced a new test function to validate the updated IP
parsing logic against various formats.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced the search functionality to target specific node groups,
potentially improving retrieval speed and relevance of results.
- **Bug Fixes**
- Maintained existing error handling for online querier nodes, ensuring
consistent performance during node retrieval.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
…or page refresh will be done
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new `refreshHistogram` property to improve histogram
management within the logs component.
- Enhanced the logs visualization to refresh the histogram in real-time
when toggling log views.
- **Bug Fixes**
- Corrected conditions for refreshing the histogram to ensure data
accuracy based on user interactions.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced error handling for clearer and more consistent messaging in
the application.
- Improved logic for histogram data processing, including new checks for
multi-stream searches.
- Introduced a method to directly access and redraw chart data in the
SearchResult component, boosting chart interactivity.
- **Improvements**
- Standardized handling of time intervals for generating consistent
histogram results.
- Reactivity enhancements allow charts to update accurately with changes
in underlying data.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- #4094
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved chart responsiveness by dispatching resize events when the
visualization toggle state changes.
- **Bug Fixes**
- Enhanced event listener management to prevent multiple registrations,
improving performance and preventing memory leaks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Added a conditional message in the Preview Alert to inform users when
a preview is not available in SQL mode, enhancing user feedback.
- **Style**
- Introduced new styling for the SQL preview message to improve visual
presentation and readability.
- **Chores**
- Minor formatting adjustment in the Add Alert component for improved
code readability without affecting functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Removed Monoco-single-line dependency
When user clicks on Ctrl + enter (windows) or Cmd + enter (max) in query
mode or vrl function editor
run query runs
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a keyboard shortcut (Ctrl + Enter) in the Search Bar for
executing queries, enhancing user experience and interactivity.
- **Dependency Updates**
- Updated the dependency from `vue-monaco-singleline` to
`monaco-editor-vue`, which may introduce new features and optimizations
for the Monaco Editor integration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **Improvements**
- Enhanced handling of query results and total count for improved data
accuracy.
- Adjusted logic for calculating total count during pagination to
increase reliability.
- Refined histogram data generation, potentially impacting presentation
clarity.
- **Style**
- Minor formatting updates for improved code readability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
In the dashboards page folders vertical space in the folders and between
the folders made reduced
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced the layout and styling of the dashboard interface for
improved visual clarity.
- Introduced a separator between tabs for better distinction.
- **Style**
- Added a new CSS class to improve tab styling, including adjustments to
spacing and visual hierarchy.
- Minor style corrections to ensure consistency across the dashboard
component.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Toggle button to use VRL function editor.
- Use predefined/saved function.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a toggle feature for a VRL function editor in the
dashboard, allowing users to show or hide the editor.
- Added a dropdown menu for selecting saved VRL functions, enhancing
query management.
- Implemented a new method to update and manage virtual function fields
dynamically based on user interactions.
- **Bug Fixes**
- Simplified visibility logic in components to enhance the user
interface responsiveness.
- **Chores**
- Adjusted layouts and improved code formatting for better clarity and
consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fixed#4077
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced the search functionality to support aggregate queries,
allowing for more efficient data handling in search results.
- **Bug Fixes**
- Improved response structure for aggregate queries to simplify user
experience.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
`ZO_BLOOM_FILTER_ON_ALL_FIELDS` will huge increase parquet file size and
memory usage when the fields num over 1000 in a stream.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Simplified configuration for bloom filters by removing the
`bloom_filter_on_all_fields` option.
- **Bug Fixes**
- Streamlined logic in the bloom filter configuration handling, ensuring
consistent field processing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced query handling to recognize aggregate queries that utilize
the `DISTINCT` keyword, improving correctness and efficiency in query
processing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced a new column for "Work Group" in the Running Queries list,
enhancing data visibility and sorting capabilities.
- Updated filtering logic to include "Work Group," allowing users to
refine their query results more effectively.
- Added localization support for the new query type label in the English
language strings.
These improvements collectively enhance user interaction and data
representation within the application.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Improved disk cache management with targeted removal of specific
result files during the garbage collection process, enhancing memory
usage and overall application performance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Error while parsing `histogram` query.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced data handling for aggregation functions to support more
complex input structures, improving overall query accuracy.
- **Bug Fixes**
- Resolved issues with aggregation function assignment by adapting to
new data structure conventions, ensuring consistent behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->