Skip to content

Commit 142867a

Browse files
committed
minor fix
1 parent 87474bf commit 142867a

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

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

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
---
22
id: macro
3-
title: macro Operator
3+
title: macro Operator (Beta)
44
sidebar_label: macro
55
---
66
import useBaseUrl from '@docusaurus/useBaseUrl';
77

8+
<head>
9+
<meta name="robots" content="noindex" />
10+
</head>
11+
12+
<p><a href="/docs/beta"><span className="beta">Beta</span></a></p>
13+
814
The `macro` operator provides a means for you to reference set of query language syntax using a macro keyword across multiple queries. Additionally, if required you can include arguments and performs its respective evaluation of the arguments to this operator.
915

16+
1017
To use the `macro` operator, reference it in your query with backticks (``). Macros can also be nested, enabling complex query reuse:
1118
* **Nested Macros**. A macro referenced inside another macro.
1219
* **Inner Macro**. A macro used within the context of another macro query.
@@ -81,4 +88,4 @@ To view any existing macro, follow the steps below:
8188

8289
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**.
8390
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+
1. To use the selected macro in your log search query, copy the suggested **Usage** of the macro and include 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" />

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ module.exports = {
13811381
'search/search-query-language/search-operators/lookup-classic',
13821382
'search/search-query-language/search-operators/lookupcontains',
13831383
'search/search-query-language/search-operators/luhn',
1384-
'search/search-query-language/search-operators/macro',
1384+
//'search/search-query-language/search-operators/macro',
13851385
'search/search-query-language/search-operators/manually-cast-data-string-number',
13861386
'search/search-query-language/search-operators/matches',
13871387
'search/search-query-language/search-operators/now',

0 commit comments

Comments
 (0)