AzLogDcrIngestPS

1.7.1

 
   This module includes cmdlets to automate all the processes to create and update Azure LogAnalytics tables and Azure Data Collection Rules to do log ingestion to Azure Loganalytics custom logs using Log ingestion API and Azure Data Collection Rules from Powershell.
   
   Functions can be used for:
   (1) manipulation of source object (fix invalid struc
 
   This module includes cmdlets to automate all the processes to create and update Azure LogAnalytics tables and Azure Data Collection Rules to do log ingestion to Azure Loganalytics custom logs using Log ingestion API and Azure Data Collection Rules from Powershell.
   
   Functions can be used for:
   (1) manipulation of source object (fix invalid structure + remove unnecessary properties + add info like UserLoggedOn, Computer, CollectionTime)
   (2) Validation of environment (Azure LogAnalytics custom log tables, Azure Data Collection Rules, schema)
   (3) Management (create/update) of Azure LogAnalytics tables & Azure Data Collection Rules Management - with required schema-format and valid data set
   (4) Targetting of where to send data using names - lookup of DCR/DCE infrastructure using Azure Resource Graph
   (5) Post data to Azure LogAnalytics custom log tables using log ingestion API and Azure Data Collection Rules
   (6) Management of existing Azure Data Collection Rules
   (7) Management of existing Azure LogAnalytics custom log tables & Azure Data Collection Rules to update schema when source object structure changes,
   (8) Clean-up/maintenance of existing Azure LogAnalytics tables & Azure Data Collection Rules
   (9) Clean-up/maintenance of existing Azure LogAnalytics custom log tables & Azure Data Collection Rules
   (10) Support functions needed (e.g. REST API connectivity)
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name AzLogDcrIngestPS

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name AzLogDcrIngestPS

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2023 Morten Knudsen | @knudsenmortendk

Package Details

Author(s)

  • Morten Knudsen | Microsoft MVP | mok@mortenknudsen.net | @knudsenmortendk

Tags

Microsoft Azure LogAnalytics LogIngestion REST Logging CustomLogs DataCollectionRule DCR

Functions

Add-CollectionTimeToAllEntriesInArray Add-ColumnDataToAllEntriesInArray Build-DataArrayToAlignWithSchema CheckCreateUpdate-TableDcr-Structure Compress-GzipBytes Convert-CimArrayToObjectFixStructure Convert-PSArrayToObjectFixStructure ConvertFrom-SecureStringToPlainText CreateUpdate-AzDataCollectionRuleLogIngestCustomLog CreateUpdate-AzLogAnalyticsCustomLogTableDcr Delete-AzDataCollectionRules Delete-AzLogAnalyticsCustomLogTables Filter-ObjectExcludeProperty Get-AzAccessTokenManagement Get-AzDataCollectionRuleTransformKql Get-AzDceListAll Get-AzDcrDceDetails Get-AzDcrListAll Get-AzLogAnalyticsTableAzDataCollectionRuleStatus Get-AzLogIngestBatchEndIndex Get-AzLogIngestCachedRowBytes Get-AzLogIngestEstimatedPayloadBytes Get-AzLogIngestPayloadBytesFromCache Get-AzTokenForResource Get-JsonPayloadBytes Get-ObjectSchemaAsArray Get-ObjectSchemaAsHash New-AzLogIngestRowJsonCache Post-AzLogAnalyticsLogIngestCustomLogDcrDce-Output Post-AzLogAnalyticsLogIngestCustomLogDcrDce Update-AzDataCollectionRuleDceEndpoint Update-AzDataCollectionRuleResetTransformKqlDefault Update-AzDataCollectionRuleTransformKql ValidateFix-AzLogAnalyticsTableSchemaColumnNames

PSEditions

Core Desktop

Dependencies

This module has no dependencies.

Release Notes

https://github.com/KnudsenMorten/AzLogDcrIngestPS/blob/main/RELEASENOTES

FileList

Version History

Version Downloads Last updated
1.7.1 (current version) 4,742 8/27/2026
1.7.0 5,172 8/26/2026
1.6.8 25,135 5/25/2026
1.6.7 15,981 5/13/2026
1.6.6 39 5/13/2026
1.6.5 4 5/13/2026
1.6.4 68 5/13/2026
1.6.3 744 5/13/2026
1.6.2 9,114 4/13/2026
1.6.1 73 4/13/2026
1.6.0 55 4/13/2026
1.5.1 973,319 12/16/2024
1.5.0 187,269 8/27/2024
1.4.4 1,001,593 8/25/2023
1.4.3 454 8/25/2023
1.4.2 36 8/25/2023
1.4.1 228,828 6/11/2023
1.4.0 4,509 5/29/2023
1.3.0 7,225 5/4/2023
1.2.39 3,245 4/25/2023
1.2.38 2,680 4/13/2023
1.2.37 1,116 4/10/2023
1.2.36 620 4/9/2023
1.2.35 26 4/9/2023
1.2.34 1,071 4/3/2023
1.2.33 842 4/1/2023
1.2.32 356 3/31/2023
1.2.31 222 3/31/2023
1.2.30 131 3/31/2023
1.2.29 1,427 3/27/2023
1.2.28 45 3/27/2023
1.2.27 520 3/24/2023
1.2.26 511 3/22/2023
1.2.24 38 3/22/2023
1.2.23 13 3/22/2023
1.2.22 13 3/22/2023
1.2.21 81 3/21/2023
1.2.20 14 3/21/2023
1.2.19 12 3/21/2023
1.2.18 13 3/21/2023
1.2.17 13 3/21/2023
1.2.16 12 3/21/2023
1.2.15 12 3/21/2023
1.2.14 13 3/21/2023
1.2.13 13 3/21/2023
1.2.12 13 3/21/2023
1.2.11 14 3/21/2023
1.2.10 132 3/20/2023
1.2.9 15 3/20/2023
1.2.8 13 3/20/2023
1.2.7 13 3/20/2023
1.2.6 16 3/20/2023
1.2.5 16 3/15/2023
1.2.4 14 3/15/2023
1.2.3 13 3/15/2023
1.2.2 13 3/14/2023
1.2.1 13 3/13/2023
1.1.17 15 3/13/2023
1.1.16 15 3/13/2023
1.1.5 13 3/13/2023
1.1.4 14 3/13/2023
1.1.3 13 3/13/2023
1.1.2 14 3/13/2023
1.1.1 17 3/13/2023
1.1.0 14 3/13/2023
1.0.9 17 3/13/2023
1.0.8 14 3/13/2023
1.0.7 16 3/12/2023
1.0.6 19 3/12/2023
1.0.5 17 3/10/2023
1.0.4 17 3/10/2023
1.0.3 19 3/10/2023
1.0.2 20 3/10/2023
1.0.1 16 3/10/2023
1.0.0 18 3/10/2023
Show more