OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[Proposal] - Improved PPL Querying

Open shanilpa opened this issue 1 year ago β€’ 0 comments
trafficstars

Overview

The following proposal aims to improve the PPL querying experience in Discover by including auto-complete / suggest functionality to help users write PPL Queries and syntax highlighting to make it easier to understand and read queries. Additionally, we want to improve the space allocated for querying.

Current experience

Currently the querying experience for PPL in Dashboards is compressed and lacks syntax highlighting to help users read and write queries. Auto-complete does exist but could be improved to be more useful. The mocks below seek to alleviate these concerns. image (12)

Improved Query Space

The Query bar has been moved to it’s own section to allow for additional space for users to input queries.

image

Autocomplete

Users should be able to select from syntax, fields, matching saved searches, previous searches, and searches associated with installed integrations. image

Syntax highlighting

Syntax highlighting allows users to more quickly read and understand queries image

shanilpa avatar Mar 07 '24 21:03 shanilpa