Skip to content

Commit 9b6bbe2

Browse files
committed
added images
1 parent 8c42dca commit 9b6bbe2

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,11 @@ The following is a simplified version of the query that uses the macro operator
7474
```
7575
_sourceCategory=error | `timeslice_macro(<arg1_value>)`
7676
```
77+
78+
## View and use the macro operator
79+
80+
To view any existing macro, follow the steps below:
81+
82+
1. [**Classic UI**](/docs/get-started/sumo-logic-ui-classic). In the main Sumo Logic menu, select **Manage Data** > **Logs** > **Macros**. <br/> [**New UI**](/docs/get-started/sumo-logic-ui/). In the top menu, select **Manage Date**, and then under **Logs**, select **Macros**. You can also click the **Go To...** menu at the top of the screen and select **Macros**.
83+
1. In the **Macros** page, click on any of the macros that you want to view the macro details.<br/><img src={useBaseUrl('img/search/searchquerylanguage/search-operators/view-macro-logs-page.png')} alt="macro-logs-page" style={{border: '1px solid gray'}} width="800" />
84+
1. To use the selected macro in your log search query, copy the suggested **usage** of the macro and include the it in your query syntax. <br/><img src={useBaseUrl('img/search/searchquerylanguage/search-operators/view-macro-logs-details.png')} alt="view-macro-logs-details" style={{border: '1px solid gray'}} width="400" />
91.3 KB
Loading
94.8 KB
Loading

0 commit comments

Comments
 (0)