untable command: Examples

Examples for using the SPL2 untable command.

Example results before using the untable command

It's useful to see the shape of the search results before implementing the untable command.

The following search returns a count of the events, organized by the host and status fields.

The results look like this:

Example results after using the untable command

The following example adds the untable command to the previous example and converts the results from the stats command.
  • The host field becomes row labels.

  • The count and status field names become values in the labels field.

  • The values from the count and status fields become the values in the data field.

The results look like this:

See also

untable command

untable command: Examples