Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 782 Bytes

syntax.rst

File metadata and controls

30 lines (20 loc) · 782 Bytes

Syntax

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 [ ].