edited local web server pattern constant and changed wording of comment in response to PR comments
This commit is contained in:
Родитель
ae5e362095
Коммит
dd7ec30e1d
|
@ -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>ingest-){1}(?<clusterName>.+?)\\.(?<location>.+?){0,1}\\.(?<domainName>.+?)/(?<databaseName>.+?){1}(/|$)";
|
||||
public const string LocalWebServerPattern = @"^http:\/\/localhost:(?<port>\d){1,5}\/(?<databaseName>.+?)$";
|
||||
public const string LocalWebServerPattern = @"^http://localhost:(?<port>\d){1,5}/(?<databaseName>.+?)$";
|
||||
public const string LogExtension = ".log";
|
||||
public const string ManagementAzureCom = "https://management.azure.com";
|
||||
public const int MaxCsvTransmitBytes = 1024 * 1024 * 100;
|
||||
|
|
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче