Skip to content

Commit ef94992

Browse files
committed
minor formatting
1 parent 09cac46 commit ef94992

File tree

1 file changed

+2
-2
lines changed
  • docs/search/search-query-language/search-operators

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
77

88
With `macro` operator you can reuse the portions of search query language in multiple other queries. This operator also includes arguments and also performs its respective evaluation of the arguments.
99

10-
Use backquote (``) charater 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 reffered is called the **Outer Macro**.
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**.
1111

1212
:::note
1313
- Only **Administrators** and **Users** with access to **Query Reference** will be able to run queries using macros.
@@ -29,7 +29,7 @@ To create a macro follow the steps below:
2929
1. Or, in the log search page, select the part of search query language that needs to be reused and click on **Create Macro**.<br/><img src={useBaseUrl('img/search/searchquerylanguage/search-operators/macro-search-page.png')} alt="macro-search-page" style={{border: '1px solid gray'}} width="800" />
3030
1. **Macro Details**. Enter the name for the macro. Description is optional.
3131
1. **Macro Definition**. Enter the definition for the macro. To add arguments use the `{{Arg}}` syntax or select a part of the definition and click on **Add Argument**.
32-
1. (Optional)**Arguments**. Enter the name and select the data type for the argument selcted.
32+
1. (Optional)**Arguments**. Enter the name and select the data type for the argument selected.
3333
1. (Optional)**Argument Validation**. Define the validation condition and enter the error message that needs to be shown when the validation expression returns false.
3434
1. **Usage**. Preview of how you use the macro in the log search.
3535
1. Click **Submit** to save the macro.

0 commit comments

Comments
 (0)