Explore fields in Discover
When you open Discover on data you don't know yet, the fields list in the sidebar shows what that data contains. From there, you can look at a field's details, split the chart by it, or put it in the results table as a column. In classic mode, the details include the field's most frequent values.
Open Discover and run a query that returns results. In ES|QL mode, run a query first. Refer to Get started with ES|QL in Discover. In classic mode, select a data view and a time range first. Refer to Select a data view and a time range.
In the sidebar, check the available fields in the fields list. It's common to have hundreds of fields. Use the search at the top of the sidebar to look for specific terms in the field names. For example, enter
main the search field to find themanufacturerfield.
TipYou can combine multiple keywords or characters. For example,
geo destfindsgeo.destandgeo.src.dest.When you explore logs data in the Observability solution view, the fields list starts with a Recommended fields group. It holds fields that are most useful for logs, such as log.level,service.name, andhost.name.Select a field name to open its details. In classic mode, Discover shows the field's top 10 values and the number of records used to calculate them. In ES|QL mode, the field details don't include top values. To see the most frequent values of a field, run a query such as
STATS COUNT(*) BY <field>.To split the chart by that field, select Add breakdown in the field details. In ES|QL mode, this works only when the data source has a time field and your query doesn't reshape the results with a command such as
STATSorKEEP.Next to a field in the fields list, select to add it to the results table as a column. You can also drag the field from the list into the table. To manage the columns after you add them, refer to Manage the columns in the table.
When the table shows a Summary column with each document's key-value pairs, adding a field replaces it. In ES|QL mode, the columns that the table starts with depend on your query. Refer to Show specific columns in the results table.
In JSON view, adding fields limits the tree to those fields. Refer to View documents as JSON. TipThe fields shown as columns in the table are also the fields that Discover includes when you export the results as CSV. Refer to Export Discover session results as CSV.
Optional: To reopen this view later, save your work as a Discover session.
Result: You can see what your data contains, and the table shows the fields you added as columns.
- To chart a field in classic mode, refer to Visualize a field from Discover.
- To read every field of a single result, refer to Inspect documents and requests in Discover.