Skip to content

Commit

Permalink
fix syntax error from #1233 (#1372)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <[email protected]>
joshuali925 authored Jan 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 65f8eaa commit 57db4dc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions public/components/common/helpers/ppl_docs/commands/syntax.ts
Original file line number Diff line number Diff line change
@@ -8,15 +8,14 @@ export const syntaxCmd = `## Syntax
### Command order
The PPL query starts with a \`search\` command to reference a table to search.
Commands can be in any order. For example, in the following query, the \`search\` command references the \`accounts\` index as the source and then uses fields and a \`where\` command to perform further processing.
Commands can be in any order. For example, in the following query, the \`search\` command references the \`accounts\` index as the source and then uses fields and a \`where\` command to perform further processing.
\`\`\`
\`\`\`
search source=accounts
| where age > 18
| fields firstname, lastname
\`\`\`
### Required and optional arguments
Required arguments are enclosed in angle brackets \< \>, and optional arguments are enclosed in square brackets \[ \]`.
;
Required arguments are enclosed in angle brackets \< \>, and optional arguments are enclosed in square brackets \[ \].`;

0 comments on commit 57db4dc

Please sign in to comment.