Skip to content

Commit 944a4a6

Browse files
committed
upload thrid set of changes
1 parent 282c629 commit 944a4a6

10 files changed

+23
-20
lines changed

articles/postgresql/concepts-audit.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ If you want Azure resource-level logs for operations like compute and storage sc
2121
## Usage considerations
2222
By default, pgAudit log statements are emitted along with your regular log statements by using Postgres's standard logging facility. In Azure Database for PostgreSQL, these .log files can be downloaded through the Azure portal or the CLI. The maximum storage for the collection of files is 1 GB, and each file is available for a maximum of seven days (the default is three days). This service is a short-term storage option.
2323

24-
Alternatively, you can configure all logs to be emitted to Azure Monitor's diagnostic log service. If you enable Azure Monitor diagnostic logging, your logs will be automatically sent (in JSON format) to Azure Storage, Event Hubs, and/or Azure Monitor logs, depending on your choice.
24+
Alternatively, you can configure all logs to be sent to Azure Monitor Log store for later analytics in Log Analytics. If you enable Azure Monitor resource logging, your logs will be automatically sent (in JSON format) to Azure Storage, Event Hubs, and/or Azure Monitor logs, depending on your choice.
2525

26-
Enabling pgAudit generates a large volume of logging on a server, which has an impact on performance and log storage. We recommend that you use the Azure diagnostic log service, which offers longer-term storage options, as well as analysis and alerting features. We recommend that you turn off standard logging to reduce the performance impact of additional logging:
26+
Enabling pgAudit generates a large volume of logging on a server, which has an impact on performance and log storage. We recommend that you use Azure Monitor Logs, which offers longer-term storage options, as well as analysis and alerting features. We recommend that you turn off standard logging to reduce the performance impact of additional logging:
2727

2828
1. Set the parameter `logging_collector` to OFF.
2929
2. Restart the server to apply this change.
3030

31-
To learn how to set up logging to Azure Storage, Event Hubs, or Azure Monitor logs, visit the diagnostic logs section of the [server logs article](concepts-server-logs.md).
31+
To learn how to set up logging to Azure Storage, Event Hubs, or Azure Monitor logs, visit the resource logs section of the [server logs article](concepts-server-logs.md).
3232

3333
## Installing pgAudit
3434

articles/postgresql/concepts-monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ These metrics are available for Azure Database for PostgreSQL:
3737
|pg_replica_log_delay_in_seconds|Replica Lag|Seconds|The time since the last replayed transaction. This metric is available for replica servers only.|
3838

3939
## Server logs
40-
You can enable logging on your server. These logs are also available through Azure Diagnostic Logs in [Azure Monitor logs](../azure-monitor/log-query/log-query-overview.md), Event Hubs, and Storage Account. To learn more about logging, visit the [server logs](concepts-server-logs.md) page.
40+
You can enable logging on your server. These resource logs can be sent to [Azure Monitor logs](../azure-monitor/log-query/log-query-overview.md), Event Hubs, and a Storage Account. To learn more about logging, visit the [server logs](concepts-server-logs.md) page.
4141

4242
## Query Store
4343
[Query Store](concepts-query-store.md) keeps track of query performance over time including query runtime statistics and wait events. The feature persists query runtime performance information in a system database named **azure_sys** under the query_store schema. You can control the collection and storage of data via various configuration knobs.

articles/postgresql/concepts-server-logs.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ For longer-term retention of logs and log analysis, you can download the .log fi
4141

4242
You can stop generating .log files by setting the parameter `logging_collector` to OFF. Turning off .log file generation is recommended if you are using Azure Monitor diagnostic settings. This configuration will reduce the performance impact of additional logging.
4343

44-
## Diagnostic logs
44+
## Resource logs
45+
4546
Azure Database for PostgreSQL is integrated with Azure Monitor diagnostic settings. Diagnostic settings allows you to send your Postgres logs in JSON format to Azure Monitor Logs for analytics and alerting, Event Hubs for streaming, and Azure Storage for archiving.
4647

4748
> [!IMPORTANT]
@@ -51,7 +52,7 @@ Azure Database for PostgreSQL is integrated with Azure Monitor diagnostic settin
5152
### Configure diagnostic settings
5253
You can enable diagnostic settings for your Postgres server using the Azure portal, CLI, REST API, and Powershell. The log category to select is **PostgreSQLLogs**. (There are other logs you can configure if you are using [Query Store](concepts-query-store.md).)
5354

54-
To enable Diagnostic logs using the Azure portal:
55+
To enable resource logs using the Azure portal:
5556

5657
1. In the portal, go to *Diagnostic Settings* in the navigation menu of your Postgres server.
5758
2. Select *Add Diagnostic Setting*.
@@ -60,9 +61,9 @@ To enable Diagnostic logs using the Azure portal:
6061
5. Select the log type **PostgreSQLLogs**.
6162
7. Save your setting.
6263

63-
To enable Diagnostic logs using Powershell, CLI, or REST API, visit the [diagnostic settings](../azure-monitor/platform/diagnostic-settings.md) article.
64+
To enable resource logs using Powershell, CLI, or REST API, visit the [diagnostic settings](../azure-monitor/platform/diagnostic-settings.md) article.
6465

65-
### Access diagnostic logs
66+
### Access resource logs
6667

6768
The way you access the logs depends on which endpoint you choose. For Azure Storage, see the [logs storage account](../azure-monitor/platform/resource-logs-collect-storage.md) article. For Event Hubs, see the [stream Azure logs](../azure-monitor/platform/resource-logs-stream-event-hubs.md) article.
6869

articles/postgresql/security-baseline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ How to onboard Azure Sentinel: https://docs.microsoft.com/azure/sentinel/quickst
193193

194194
### 2.3: Enable audit logging for Azure resources
195195

196-
**Guidance**: Enable Diagnostic Settings on your Azure Database for PostgreSQL instances for access to audit, security, and diagnostic logs. Ensure that you specifically enable the PostgreSQL Audit log. Activity logs, which are automatically available, include event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. You may also enable Azure Activity Log Diagnostic Settings and send the logs to the same Log Analytics workspace or Storage Account.
196+
**Guidance**: Enable Diagnostic Settings on your Azure Database for PostgreSQL instances for access to audit, security, and resource logs. Ensure that you specifically enable the PostgreSQL Audit log. Activity logs, which are automatically available, include event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. You may also enable Azure Activity Log Diagnostic Settings and send the logs to the same Log Analytics workspace or Storage Account.
197197

198198
How to configure and access Server Logs for Azure Database for PostgreSQL: https://docs.microsoft.com/azure/postgresql/howto-configure-server-logs-in-portal
199199

articles/role-based-access-control/resource-provider-operations.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4281,7 +4281,7 @@ Azure service: [Event Grid](../event-grid/index.yml)
42814281
> | | **domains/privateLinkResources** | |
42824282
> | Action | Microsoft.EventGrid/domains/privateLinkResources/read | Get or List PrivateLinkResources for domains |
42834283
> | | **domains/providers/Microsoft.Insights/logDefinitions** | |
4284-
> | Action | Microsoft.EventGrid/domains/providers/Microsoft.Insights/logDefinitions/read | Allows access to diagnostic logs |
4284+
> | Action | Microsoft.EventGrid/domains/providers/Microsoft.Insights/logDefinitions/read | Allows access to resource logs |
42854285
> | | **domains/providers/Microsoft.Insights/metricDefinitions** | |
42864286
> | Action | Microsoft.EventGrid/domains/providers/Microsoft.Insights/metricDefinitions/read | Gets the available metrics for domains |
42874287
> | | **domains/topics** | |
@@ -4349,7 +4349,7 @@ Azure service: [Event Grid](../event-grid/index.yml)
43494349
> | Action | Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/diagnosticSettings/read | Gets the diagnostic setting for system topics |
43504350
> | Action | Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/diagnosticSettings/write | Creates or updates the diagnostic setting for system topics |
43514351
> | | **systemTopics/providers/Microsoft.Insights/logDefinitions** | |
4352-
> | Action | Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/logDefinitions/read | Allows access to diagnostic logs |
4352+
> | Action | Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/logDefinitions/read | Allows access to resource logs |
43534353
> | | **systemTopics/providers/Microsoft.Insights/metricDefinitions** | |
43544354
> | Action | Microsoft.EventGrid/systemTopics/providers/Microsoft.Insights/metricDefinitions/read | Gets the available metrics for system topics |
43554355
> | | **topics** | |
@@ -4373,7 +4373,7 @@ Azure service: [Event Grid](../event-grid/index.yml)
43734373
> | Action | Microsoft.EventGrid/topics/providers/Microsoft.Insights/diagnosticSettings/read | Gets the diagnostic setting for topics |
43744374
> | Action | Microsoft.EventGrid/topics/providers/Microsoft.Insights/diagnosticSettings/write | Creates or updates the diagnostic setting for topics |
43754375
> | | **topics/providers/Microsoft.Insights/logDefinitions** | |
4376-
> | Action | Microsoft.EventGrid/topics/providers/Microsoft.Insights/logDefinitions/read | Allows access to diagnostic logs |
4376+
> | Action | Microsoft.EventGrid/topics/providers/Microsoft.Insights/logDefinitions/read | Allows access to resource logs |
43774377
> | | **topics/providers/Microsoft.Insights/metricDefinitions** | |
43784378
> | Action | Microsoft.EventGrid/topics/providers/Microsoft.Insights/metricDefinitions/read | Gets the available metrics for topics |
43794379
> | | **topictypes** | |

articles/role-based-access-control/troubleshooting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ If you grant a user read-only access to a single web app, some features are disa
148148
* Changing settings like general configuration, scale settings, backup settings, and monitoring settings
149149
* Accessing publishing credentials and other secrets like app settings and connection strings
150150
* Streaming logs
151-
* Diagnostic logs configuration
151+
* Resource logs configuration
152152
* Console (command prompt)
153153
* Active and recent deployments (for local git continuous deployment)
154154
* Estimated spend

articles/search/search-monitor-logs-powerbi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ ms.date: 02/24/2020
1616
You can find the Power BI Template App **Azure Cognitive Search: Analyze Logs and Metrics** in the [Power BI Apps marketplace](https://appsource.microsoft.com/marketplace/apps).
1717

1818
## How to get started with the app
19-
1. Enable diagnostic logging for your search service:
19+
20+
1. Enable metric and resource logging for your search service:
21+
2022
1. Create or identify an existing [Azure Storage account](https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account) where you can archive the logs
2123
1. Navigate to your Azure Cognitive Search service in the Azure portal
2224
1. Under the Monitoring section on the left column, select **Diagnostic settings**

articles/search/search-monitor-logs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ For Blob storage, it takes one hour before the containers will appear in Blob st
6262

6363
## Query log information
6464

65-
In diagnostic logs, two tables contain logs and metrics for Azure Cognitive Search: **AzureDiagnostics** and **AzureMetrics**.
65+
Two tables contain logs and metrics for Azure Cognitive Search: **AzureDiagnostics** and **AzureMetrics**.
6666

6767
1. Under **Monitoring**, select **Logs**.
6868

@@ -93,7 +93,7 @@ Data structures that contain Azure Cognitive Search log data conform to the sche
9393

9494
For Blob storage, each blob has one root object called **records** containing an array of log objects. Each blob contains records for all the operations that took place during the same hour.
9595

96-
The following table is a partial list of fields common to diagnostic logging.
96+
The following table is a partial list of fields common to resource logging.
9797

9898
| Name | Type | Example | Notes |
9999
| --- | --- | --- | --- |

articles/search/search-monitor-queries.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Monitor queries
33
titleSuffix: Azure Cognitive Search
4-
description: Monitor query metrics for performance and throughput. Collect and analyze query string inputs in diagnostic logs.
4+
description: Monitor query metrics for performance and throughput. Collect and analyze query string inputs in resource logs.
55

66
manager: nitinme
77
author: HeidiSteen
@@ -13,7 +13,7 @@ ms.date: 02/18/2020
1313

1414
# Monitor query requests in Azure Cognitive Search
1515

16-
This article explains how to measure query performance and volume using metrics and diagnostic logging. It also explains how to collect the input terms used in queries - necessary information when you need to assess the utility and effectiveness of your search corpus.
16+
This article explains how to measure query performance and volume using metrics and resource logging. It also explains how to collect the input terms used in queries - necessary information when you need to assess the utility and effectiveness of your search corpus.
1717

1818
Historical data that feeds into metrics is preserved for 30 days. For longer retention, or to report on operational data and query strings, be sure to enable a [diagnostic setting](search-monitor-logs.md) that specifies a storage option for persisting logged events and metrics.
1919

@@ -114,7 +114,7 @@ For deeper exploration, open metrics explorer from the **Monitoring** menu so th
114114

115115
## Identify strings used in queries
116116

117-
When you enable diagnostic logging, the system captures query requests in the **AzureDiagnostics** table. As a prerequisite, you must have already enabled [diagnostic logging](search-monitor-logs.md), specifying a log analytics workspace or another storage option.
117+
When you enable resource logging, the system captures query requests in the **AzureDiagnostics** table. As a prerequisite, you must have already enabled [resource logging](search-monitor-logs.md), specifying a log analytics workspace or another storage option.
118118

119119
1. Under the Monitoring section, select **Logs** to open up an empty query window in Log Analytics.
120120

articles/search/search-traffic-analytics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Search traffic analytics is a pattern for collecting telemetry about user intera
1919
This pattern takes a dependency on [Application Insights](https://docs.microsoft.com/azure/azure-monitor/app/app-insights-overview) (a feature of [Azure Monitor](https://docs.microsoft.com/azure/azure-monitor/)) to collect user data. It requires that you add instrumentation to your client code, as described in this article. Finally, you will need a reporting mechanism to analyze the data. We recommend Power BI but you can use the Application Dashboard or any tool that connects to Application Insights.
2020

2121
> [!NOTE]
22-
> The pattern described in this article is for advanced scenarios and clickstream data generated by code you add to your client. In contrast, service logs are easy to set up, provide a range of metrics, and can be done in the portal with no code required. Enabling diagnostic logging is recommended for all scenarios. For more information, see [Collect and analyze log data](search-monitor-logs.md).
22+
> The pattern described in this article is for advanced scenarios and clickstream data generated by code you add to your client. In contrast, service logs are easy to set up, provide a range of metrics, and can be done in the portal with no code required. Enabling logging is recommended for all scenarios. For more information, see [Collect and analyze log data](search-monitor-logs.md).
2323
2424
## Identify relevant search data
2525

0 commit comments

Comments
 (0)