OpenSearch Cluster : OpenSearch Dashboards indicates compatibility with version 7.10.2 (AWS OpenSearch Service).
Browser : Google Chrome 131.0.6778.19 (Official Build) (64-bit)
OS : Windows 10 Enterprise
Describe the issue:
In the Log Explorer feature under Observability, when executing PPL queries, selected columns reset to default (Time and Source) after every new execution of the query. This issue occurs in the following scenarios:
When selecting additional columns (e.g., message, loggerName) and clicking “Run,” the view reverts to default columns after the execution.
When saving a Log Explorer with custom columns and retrieving it later, the initially saved columns appear briefly but are replaced by the default ones (Time and Source) within a second.
Steps to reproduce:
Open Log Explorer and connect to a data stream (e.g., logs-XXXXX).
Run a PPL query like:
source=logs-XXXXX
Add custom columns (e.g., message, loggerName) to the view.
Click “Run” or save the explorer view.
Notice that the custom columns are reset to default (Time and Source) after execution or when reloading the saved Log Explorer.
Expected behavior:
The selected or saved columns in Log Explorer should persist after query execution or when reopening a saved view.
Configuration:
The issue was observed on a data stream with an active ingest pipeline that indexes fields from the message field. Queries like source=logs-collection-provider work, and columns such as loggerName and message are correctly indexed and searchable in Discover.
Relevant Logs or Screenshots:
Screenshots show columns message and loggerName initially appearing in the view but resetting to default after execution. Logs Explorer shows no errors during query execution.
Additional Details:
The same data stream works flawlessly in Discover, Visualize, and Dashboards.
Could this be related to the implementation of Log Explorer or PPL in Dashboards?
@mpicallo It looks like a bug. I’ve got the same results in 2.18.0.
There is an interesting behaviour with saved queries. When the page is loaded, I can see the saved column layout for a very short time, and then it is overwritten by the default layout.
Could you report it as a bug in OpenSearch GitHub?
I haven’t found any bugs reported regarding this problem.
Once you create the issue, please share the link here.