﻿---
title: How to query in Discover's classic mode
description: Query your data in Discover's classic mode: select a data view, search with KQL or Lucene, filter results, and add runtime fields.
url: https://www.elastic.co/docs/explore-analyze/discover/use-classic-mode
products:
  - Elastic Documentation
  - Kibana
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# How to query in Discover's classic mode
Classic mode in **Discover** works on a [data view](https://www.elastic.co/docs/explore-analyze/find-and-organize/data-views), a definition of the data to query, usually saved, such as all your web logs. You search the data with [Kibana Query Language (KQL)](https://www.elastic.co/docs/explore-analyze/query-filter/languages/kql) or [Lucene](https://www.elastic.co/docs/explore-analyze/query-filter/languages/lucene-query-syntax), two search syntaxes, and narrow the results with filters.

## Set up and run a classic query

- [Select a data view and a time range](/docs/explore-analyze/discover/search-and-filter-classic#find-the-data-you-want-to-use) to select the data you explore.
- [Search with KQL or Lucene and narrow the results with filters](https://www.elastic.co/docs/explore-analyze/discover/search-and-filter-classic).
- Add [runtime fields](https://www.elastic.co/docs/explore-analyze/discover/add-fields-to-data-views) to your data views.
- [Switch to ES|QL mode](https://www.elastic.co/docs/explore-analyze/discover/switch-esql-mode) and see how Discover converts your search and filters into an ES|QL query.


## Related pages

- [How Discover works](https://www.elastic.co/docs/explore-analyze/discover/discover-get-started)
- [Explore your data in Discover](https://www.elastic.co/docs/explore-analyze/discover/explore-data)
- [Manage your Discover view and sessions](https://www.elastic.co/docs/explore-analyze/discover/manage-discover)
- [Data views](https://www.elastic.co/docs/explore-analyze/find-and-organize/data-views)