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.

  1. 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 ma in the search field to find the manufacturer field.

    Fields list in the sidebar showing the top five results of a field name search
    Tip

    You can combine multiple keywords or characters. For example, geo dest finds geo.dest and geo.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, and host.name.

  2. 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 STATS or KEEP.

  3. 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.

    Plus icon next to a field in the fields list that adds the field as a column in the table

    When you add fields to the table, the Summary column is replaced. For ES|QL-specific details about the time field and CSV exports, refer to Show specific columns in the results table.

    To keep the Summary column next to the fields you add, turn on Pin summary in the Columns menu.

    In JSON view, adding fields limits the tree to those fields. Refer to View documents as JSON.

    Document table with the manufacturer field added as a column
  4. Optional: To keep the fields you care about in view, resize or reorder columns, expand the table to full screen, or collapse the chart and the fields list. Refer to Customize the Discover view for all options.

  5. 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.