Table of contents
The PPL query starts with either the search
command to reference a table to search from, or the describe
command to reference a table to get its metadata. All the following command could be in any order. In the following example, search
command refer the accounts index as the source, then using fields and where command to do the further processing.
search source=accounts | where age > 18 | fields firstname, lastname
Required arguments are shown in angle brackets < >.
Optional arguments are enclosed in square brackets [ ].