Skip to content

Commit f5f3403

Browse files
author
Sreekanth Iyer (Ushta Te Consultancy Services)
committed
Updated selective loggin page
1 parent bc061c9 commit f5f3403

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

articles/hdinsight/azure-monitor-agent.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@ This document outlines the changes to the Azure Monitor integration and provides
5757

5858
The following sections describe how customers can use the new Azure Monitor Agent integration in different scenarios.
5959

60-
* The [Activate a new Azure Monitor Agent integration](/log-analytics-migration.md#activate-a-new-azure-monitor-integration) section outlines how to activate and use the new Azure Monitor integration.
60+
* The [Activate a new Azure Monitor Agent integration](./log-analytics-migration.md#activate-a-new-azure-monitor-integration) section outlines how to activate and use the new Azure Monitor integration.
6161

6262
* The [Migrating from Azure Monitor Classic to the new Azure Monitor](./log-analytics-migration.md#migrate-to-the-new-azure-monitor-integration) Agent Integration section includes additional information for users that depend on the older adults Azure Monitor integration.
6363

6464
> [!NOTE]
6565
> Customers using Azure Monitor Classic will no longer work after 31 August, 2024.
6666
>
67-
> Clusters with Image<Image Number> with the latest HDInsight API <API Number> will have ability to enable the Azure Monitor Agent integration, and this will be the default setup for customers using <Image number>.
67+
> Clusters with Image **Image Number** with the latest HDInsight API **API Number** will have ability to enable the Azure Monitor Agent integration, and this will be the default setup for customers using **Image number**.
6868
6969
### Activate a new Azure Monitor Agent integration
7070

articles/hdinsight/selective-logging-analysis.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to use the selective logging feature with a script action
44
ms.service: hdinsight
55
ms.topic: how-to
66
ms.custom: references-regions
7-
ms.date: 09/13/2023
7+
ms.date: 07/31/2024
88
---
99

1010
# Use selective logging with a script action in Azure HDInsight
@@ -51,13 +51,13 @@ For instructions on how to create an HDInsight cluster, see [Get started with Az
5151

5252
1. For the script type, select **Custom**.
5353
1. Name the script. For example: **Disable two tables and two sources**.
54-
1. The Bash script URI must be a link to [selectiveLoggingScript.sh](https://hdiconfigactions.blob.core.windows.net/log-analytics-patch/selectiveLoggingScripts/selectiveLoggingScript.sh).
54+
1. The Bash script URI must be a link to [selectiveLoggingScript.sh](https://hdiconfigactions.blob.core.windows.net/log-analytics-patch/selectiveLoggingScriptsAma/selectiveLoggingScript.sh).
5555
1. Select all the node types that apply for the cluster. The options are head node, worker node, and ZooKeeper node.
5656
1. Define the parameters. For example:
5757
- Spark: `spark HDInsightSparkLogs:SparkExecutorLog --disable`
58-
- Interactive Query: `interactivehive HDInsightSparkLogs:SparkExecutorLog --enable`
59-
- Hadoop: `hadoop HDInsightSparkLogs:SparkExecutorLog --disable`
60-
- HBase: `hbase HDInsightSparkLogs: HDInsightHBaseLogs --enable`
58+
- Interactive Query: `interactivehive HDInsightHadoopAndYarnLogs:NodeManager --enable`
59+
- Hadoop: `hadoop HDInsightHiveAndLLAPLogs:HiveServer2Log --disable`
60+
- HBase: `hbase HDInsightHBaseLogs:HBaseRegionServerLog --enable`
6161

6262
For more information, see the [Parameter syntax](#parameter-syntax) section.
6363

@@ -66,7 +66,7 @@ For instructions on how to create an HDInsight cluster, see [Get started with Az
6666

6767
:::image type="content" source="./media/hdinsight-hadoop-oms-selective-log-analytics-tutorial/enable-table-and-log-types.png" alt-text="Screenshot that shows a successful run of a script to enable tables and log types.":::
6868

69-
You'll see your changes in the Log Analytics workspace.
69+
You see your changes in the Log Analytics workspace.
7070

7171
## Troubleshooting
7272

@@ -110,7 +110,7 @@ If you submit your script action but there are no changes in the Log Analytics w
110110
If the script action shows a failure status in the script action history:
111111

112112
1. Check that the parameter syntax from the parameter syntax section is correct.
113-
1. Check that the script link is correct. It should be: `https://hdiconfigactions.blob.core.windows.net/log-analytics-patch/selectiveLoggingScripts/selectiveLoggingScript.sh`.
113+
1. Check that the script link is correct. It should be: `https://hdiconfigactions.blob.core.windows.net/log-analytics-patch/selectiveLoggingScriptsAma/selectiveLoggingScript.sh`.
114114

115115
## Table names
116116

0 commit comments

Comments
 (0)