Skip to content

Commit bb9b4b2

Browse files
committed
Security update V3
1 parent 2fc52fc commit bb9b4b2

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

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

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ After creating a Data Manager for Agriculture service resource, navigate to diag
2828
Now you can navigate to the destination you specified in the diagnostic setting to access logs. You can access your logging information 10 minutes (at most) after the Data Manager for Agriculture operation. In most cases, it's quicker.
2929

3030
>!Note
31-
Currently, collecting logs in a Log Analytics workspace is not enabled. This feature will be made available in a future release.
31+
Currently, collecting logs in the log analytics workspace is not enabled. This feature will be made available in a future release.
3232

3333

3434
## Interpret your logs
@@ -224,7 +224,7 @@ The following table lists the **operationName** values and corresponding REST AP
224224
|Microsoft.AgFoodPlatform/deletionJobs/seasonalFieldsCascadeDeletionJobs/processed
225225

226226
### ApplicationAuditLogs
227-
Note: The operation names corresponding to write operations in other categories are present in this category. These common logs don't contain the request body. These common logs can be correlated using the correlationId field. Some of the control plane operations that aren't part of the rest of the categories are listed below.
227+
The operation names corresponding to write operations in other categories are present in this category. These common logs don't contain the request body. These common logs can be correlated using the correlationId field. Some of the control plane operations that aren't part of the rest of the categories are listed below.
228228

229229
|operationName|
230230
| --- |
@@ -235,28 +235,28 @@ Note: The operation names corresponding to write operations in other categories
235235
|Update Subscription|
236236
|Data Plane Authentication|
237237

238-
## Query resource logs in a Log Analytics workspace
238+
## Query resource logs in a log analytics workspace
239239
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

241-
### List of tables in Log analytics and their mapping to categories in resource logs
241+
### 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
243243
| --- | --- | --- |
244244
|AgriFoodFarmManagementLogs|FarmManagementLogs| Logs for CRUD operations for Farmer, Farm, Field, Boundary, Seasonal Field, Crop, CropVariety, Season, Attachment, prescription maps, prescriptions, management zones, zones, plant tissue analysis and nutrient analyses.
245-
|AgriFoodFarmOperationsLogs|FarmOperationsLogs|Logs for CRUD operations for FarmOperations data ingestion job, ApplicationData, PlantingData, HarvestingData, TillageData
246-
|AgriFoodSatelliteLogs|SatelliteLogs| Logs for create and get operations for Satellite data ingestion job
247-
|AgriFoodWeatherLogs|WeatherLogs|Logs for create, delete and get operations for weather data ingestion job
245+
|AgriFoodFarmOperationsLogs|FarmOperationsLogs| Logs for CRUD operations for FarmOperations data ingestion job, ApplicationData, PlantingData, HarvestingData, TillageData.
246+
|AgriFoodSatelliteLogs|SatelliteLogs| Logs for create and get operations for satellite data ingestion job.
247+
|AgriFoodWeatherLogs|WeatherLogs|Logs for create, delete and get operations for weather data ingestion job.
248248
|AgriFoodProviderAuthLogs|ProviderAuthLogs| Logs for create, update, delete, cascade delete, get and get all for oauth providers. It also has logs for get, get all, cascade delete for oauth tokens.
249249
|AgriFoodInsightLogs|InsightLogs| Logs for get and get all operations for insights.
250250
|AgriFoodModelInferenceLogs|ModelInferenceLogs| Logs for create and get operations for biomass model job.
251-
|AgriFoodJobProcessedLogs|JobProcessedLogs|Logs for indicating success or failure and reason of failure for jobs. In addition to logs for resource cascade delete jobs, data-ingestion jobs, it also contains logs for farm operations and event handling jobs as well.
251+
|AgriFoodJobProcessedLogs|JobProcessedLogs| Logs for indicating success or failure and reason of failure for jobs. In addition to logs for resource cascade delete jobs, data-ingestion jobs. It also contains logs for farm operations and event handling jobs.
252252
|AgriFoodApplicationAuditLogs|ApplicationAuditLogs| Logs for privileged actions such as data-plane resource create, update, delete and subscription management operations. Complete list is in the operation name table below.
253253

254254

255-
### List of columns in Log analytics tables
255+
### List of columns in log analytics tables
256256
| Field name | Description |
257257
| --- | --- |
258258
|**Time** |Date and time in UTC. |
259-
|**ResourceId** |Azure Resource Manager resource ID for Data Manager for Agriculture logs. |
259+
|**ResourceId** |Azure Resource Manager resource ID for Data Manager for Agriculture logs.|
260260
|**OperationName** |Name of the operation, as documented in the earlier table. |
261261
|**OperationVersion** |REST API version requested by the client. |
262262
|**Category** |Category details in the Data Manager for Agriculture logs, this can be any value as listed in the category table. |
@@ -265,18 +265,18 @@ All the `categories` of resource logs are mapped as a table in log analytics. To
265265
|**ResultDescription** |More description about the result, when available. |
266266
|**DurationMs** |Time it took to service the REST API request, in milliseconds.|
267267
|**CallerIpAddress** |IP address of the client that made the request. |
268-
|**Level**|The severity level of the event (informational, warning, error, or critical).
268+
|**Level**|The severity level of the event (informational, warning, error, or critical).|
269269
|**CorrelationId** |An optional GUID that can be used to correlate logs. |
270-
|**ApplicationId**| Application ID indicating identity of the caller.
271-
|**ObjectId**| Object ID indicating identity of the caller.
272-
|**ClientTenantId**| ID of the tenant of the caller.
270+
|**ApplicationId**| Application ID indicating identity of the caller.|
271+
|**ObjectId**| Object ID indicating identity of the caller.|
272+
|**ClientTenantId**| ID of the tenant of the caller.|
273273
|**SubscriptionId**| ID of the subscription used by the caller.
274274
|**Location**|The region of the resource emitting the event such as "East US" |
275-
|**JobRunType**| Available only in `AgriFoodJobProcessesLogs` table, indicates type of the job run. Value can be either of periodic or one time.
276-
|**JobId**| Available in`AgriFoodJobProcessesLogs`, `AgriFoodSatelliteLogs`, `AgriFoodWeatherLogs`, and `AgriFoodModelInferenceLogs`, indicates ID of the job.
277-
|**InitiatedBy**| Available only in `AgriFoodJobProcessesLogs` table. Indicates whether a job was initiated by a user or by the service.
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).
275+
|**JobRunType**| Available only in `AgriFoodJobProcessesLogs` table, indicates type of the job run. Value can be either of periodic or one time. |
276+
|**JobId**| Available in`AgriFoodJobProcessesLogs`, `AgriFoodSatelliteLogs`, `AgriFoodWeatherLogs`, and `AgriFoodModelInferenceLogs`, indicates ID of the job. |
277+
|**InitiatedBy**| Available only in `AgriFoodJobProcessesLogs` table. Indicates whether a job was initiated by a user or by the service. |
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). |
280280

281281
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

0 commit comments

Comments
 (0)