diff --git a/src/CollectSFDataDll/Common/Constants.cs b/src/CollectSFDataDll/Common/Constants.cs index d1d1b264..88637377 100644 --- a/src/CollectSFDataDll/Common/Constants.cs +++ b/src/CollectSFDataDll/Common/Constants.cs @@ -32,7 +32,7 @@ namespace CollectSFData.Common public const string InstanceMetaDataRestUri = "http://169.254.169.254/metadata/instance?api-version=2017-08-01"; //DevSkim: ignore DS137138 as is used on internal az network for instance metadata public const string JsonExtension = ".json"; public const string KustoUrlPattern = "https://(?ingest-){1}(?.+?)\\.(?.+?){0,1}\\.(?.+?)/(?.+?){1}(/|$)"; - public const string LocalWebServerPattern = @"^http:\/\/localhost:(?\d){1,5}\/(?.+?)$"; + public const string LocalWebServerPattern = @"^http://localhost:(?\d){1,5}/(?.+?)$"; public const string LogExtension = ".log"; public const string ManagementAzureCom = "https://management.azure.com"; public const int MaxCsvTransmitBytes = 1024 * 1024 * 100; diff --git a/src/CollectSFDataDll/Kusto/KustoConnection.cs b/src/CollectSFDataDll/Kusto/KustoConnection.cs index 1c0bbac4..959816e6 100644 --- a/src/CollectSFDataDll/Kusto/KustoConnection.cs +++ b/src/CollectSFDataDll/Kusto/KustoConnection.cs @@ -243,7 +243,7 @@ namespace CollectSFData.Kusto private void IngestLocally(FileObject fileObject) { string ingestionMapping = SetIngestionMapping(fileObject); - // After the files get formatted, they are in a zip file format. To read the stream's contents, the file must be decompressed + // As part of the file formatting process, the files are compressed into a zip file format. To read the stream's contents, the file must be decompressed fileObject.Stream.Decompress(); string traces = fileObject.Stream.ReadToEnd(); if (traces.Length != 0)