Skip to content

Feature request: default query on Explore #483

@lauren-hinge

Description

@lauren-hinge

Problem

When users arrive at the Explore view, they're presented with this:

Image

Most of the time, I base what I'm about to query off of seeing existing results of the VL I'm querying -- to remember or get a feel for the fields and formats it contains.

So, I always start with (and recommend people to start with): *.

With that in place, suddenly the logs view actually has logs! It'd be nice if users' first impression with this datasource didn't have to start with learning that tip.

 

Feature

Honestly, I'd be fine with * as the default everywhere, but it may be nice to be able to configure the default query AND default time range for that query.

That way, on particularly data-heavy VL's, you can reduce load by setting the default to 5 minutes, or a well-optimized stream query.

 

Alternative

Not sure what Grafana makes available, but an alternative approach may be to be defining the behavior on empty query, rather than on explore pageload 🤷‍♀️.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions