Skip to content

Commit 2fc52fc

Browse files
committed
Security logs v2
1 parent 5ab954f commit 2fc52fc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/data-manager-for-agri/how-to-set-up-audit-logs.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ The `operationName` field values are in *Microsoft.AgFoodPlatform/resource-name/
7676
* `/failures` suffix corresponds to failure of a farm operation job (a PUT method call) and contains description about the reason of failure.
7777

7878
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*
8181

8282
The following table lists the **operationName** values and corresponding REST API commands for a category as a tab:
8383

@@ -236,7 +236,7 @@ Note: The operation names corresponding to write operations in other categories
236236
|Data Plane Authentication|
237237

238238
## 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.
240240

241241
### List of tables in Log analytics and their mapping to categories in resource logs
242242
| 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
276276
|**JobId**| Available in`AgriFoodJobProcessesLogs`, `AgriFoodSatelliteLogs`, `AgriFoodWeatherLogs`, and `AgriFoodModelInferenceLogs`, indicates ID of the job.
277277
|**InitiatedBy**| Available only in `AgriFoodJobProcessesLogs` table. Indicates whether a job was initiated by a user or by the service.
278278
|**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).
280280

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).
282282

283283
### List of sample queries in the log analytics workspace
284284
| Query name | Description |

0 commit comments

Comments
 (0)