Skip to content

Commit 5c7cd96

Browse files
JV0812kimsauce
andauthored
Update docs/search/search-query-language/search-operators/macro.md
Co-authored-by: Kim (Sumo Logic) <[email protected]>
1 parent 14e8306 commit 5c7cd96

File tree

1 file changed

+4
-1
lines changed
  • docs/search/search-query-language/search-operators

1 file changed

+4
-1
lines changed

docs/search/search-query-language/search-operators/macro.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
77

88
The `macro` operator allows you to reuse portions of a search query across multiple queries. Additionally, this operator includes arguments and performs its respective evaluation of the arguments.
99

10-
Use backquote (``) character to refer macro operator in the query. Macros referred inside another macro is called **Nested macros**. Macro referred within the context of another macro query of is called **Inner Macro**. The macro where the inner macro is referred is called the **Outer Macro**.
10+
To use `macro` the operator, reference it in your query with backticks (``). Macros can also be nested, enabling complex query reuse:
11+
* **Nested Macros**. A macro referenced inside another macro.
12+
* **Inner Macro**. A macro used within the context of another macro query.
13+
* **Outer Macro**. The macro that references an inner macro.
1114

1215
:::note
1316
- Only **Administrators** and **Users** with access to **Query Reference** will be able to run queries using macros.

0 commit comments

Comments
 (0)