You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-manager-for-agri/how-to-set-up-audit-logs.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,8 +76,8 @@ The `operationName` field values are in *Microsoft.AgFoodPlatform/resource-name/
76
76
*`/failures` suffix corresponds to failure of a farm operation job (a PUT method call) and contains description about the reason of failure.
77
77
78
78
The nomenclature for Jobs is as following:
79
-
* For data-ingestion jobs: *Microsoft.AgFoodPlatform/ingestionJobs/<resource-name>DataingestionJobs/write*
80
-
* For deletion jobs: *Microsoft.AgFoodPlatform/deletionJobs/<resource-name>cascadeDeleteJobs/write*
79
+
* For data-ingestion jobs: *Microsoft.AgFoodPlatform/ingestionJobs/<'resource-name'>DataingestionJobs/write*
80
+
* For deletion jobs: *Microsoft.AgFoodPlatform/deletionJobs/<'resource-name'>cascadeDeleteJobs/write*
81
81
82
82
The following table lists the **operationName** values and corresponding REST API commands for a category as a tab:
83
83
@@ -236,7 +236,7 @@ Note: The operation names corresponding to write operations in other categories
236
236
|Data Plane Authentication|
237
237
238
238
## Query resource logs in a Log Analytics workspace
239
-
All the [`categories` of resource logs](readme.md) are mapped as a table in log analytics. To access logs for each category, you need to [create a diagnostic setting](create-diagnostic-settings.md) to send data to a log analytics workspace. In this workspace, you can query any of the tables listed below to obtain the relevant logs.
239
+
All the `categories` of resource logs are mapped as a table in log analytics. To access logs for each category, you need to create a diagnostic setting to send data to a log analytics workspace. In this workspace, you can query any of the tables listed to obtain the relevant logs.
240
240
241
241
### List of tables in Log analytics and their mapping to categories in resource logs
242
242
| Table name in log analytics| Categories in resource logs |Description
@@ -276,9 +276,9 @@ All the [`categories` of resource logs](readme.md) are mapped as a table in log
276
276
|**JobId**| Available in`AgriFoodJobProcessesLogs`, `AgriFoodSatelliteLogs`, `AgriFoodWeatherLogs`, and `AgriFoodModelInferenceLogs`, indicates ID of the job.
277
277
|**InitiatedBy**| Available only in `AgriFoodJobProcessesLogs` table. Indicates whether a job was initiated by a user or by the service.
278
278
|**FarmerId**| ID of the farmer associated with the operation.
279
-
|**Properties** | Available only in`AgriFoodJobProcessesLogs` table, it contains: `farmOperationEntityId` (ID of the entity that failed to be created by the farmOperation job), `farmOperationEntityType`(Type of the entity that failed to be created, can be ApplicationData, PeriodicJob, etc.),`errorCode`(Code for failure of the job at Data Manager for Agriculture end),`errorMessage`(Description of failure at the Data Manager for Agriculture end),`internalErrorCode`(Code of failure of the job provide by the provider),`internalErrorMessage`(Description of the failure provided by the provider),`providerId`(ID of the provider such as JOHN-DEERE).
279
+
|**Properties** | Available only in`AgriFoodJobProcessesLogs` table, it contains: `farmOperationEntityId` (ID of the entity that failed to be created by the farmOperation job), `farmOperationEntityType`(Type of the entity that failed to be created, can be ApplicationData, PeriodicJob, etc.),`errorCode`(Code for failure of the job at Data Manager for Agriculture end),`errorMessage`(Description of failure at the Data Manager for Agriculture end),`internalErrorCode`(Code of failure of the job provide by the provider),`internalErrorMessage`(Description of the failure provided by the provider),`providerId`(ID of the provider such as JOHN-DEERE).
280
280
281
-
Each of these tables can be queried by creating a log analytics workspace. Reference for query language is [here](https://docs.microsoft.com/en-us/azure/data-explorer/kql-quick-reference).
281
+
Each of these tables can be queried by creating a log analytics workspace. Reference for query language is [here](https://learn.microsoft.com/azure/data-explorer/kql-quick-reference).
282
282
283
283
### List of sample queries in the log analytics workspace
0 commit comments