Skip to content

Commit 4ef4ad6

Browse files
authored
Update macro.md
1 parent 9e1742d commit 4ef4ad6

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
@@ -51,7 +51,7 @@ _sourceCategory=error | timeslice 5m
5151
| count by _timeslice
5252
```
5353

54-
Now, by creating a macro for the `timeslice` field, the query using the `macro` operator can be simplified as follows:
54+
Now, by creating a macro for the `timeslice` field, the query using the macro operator can be simplified as follows:
5555

5656
```
5757
_sourceCategory=error | `timeslice_macro`
@@ -68,7 +68,7 @@ _sourceCategory=error | timeslice 5m
6868

6969
To create a macro that allows you to enter a value of your choice, we use arguments during the macro creation process. You may choose to include validation conditions within these arguments. If validation conditions are present, make sure to specify the correct data type for <arg1_value> to achieve the desired results.
7070

71-
The following is a simplified version of the query that uses the macro operator with arguments. Replace `<arg1_value>` with the value of your choice.
71+
The following is a simplified version of the query that uses the macro operator with arguments. Replace <arg1_value> with the value of your choice.
7272

7373
```
7474
_sourceCategory=error | `timeslice_macro(<arg1_value>)`

0 commit comments

Comments
 (0)