AzStackHciStandaloneObservability/package/scripts/Invoke-ParsingEngine.ps1

##------------------------------------------------------------------
## <copyright file="Invoke-ParsingEngine.ps1" company="Microsoft">
## Copyright (C) Microsoft. All rights reserved.
## </copyright>
##------------------------------------------------------------------

Param (
    [Parameter(Mandatory=$false)]
    [System.String] $TaskName = "ParsingEngineTask",

    [Parameter(Mandatory = $true)]
    [System.String] $FactorySharePath,

    [Parameter(Mandatory = $true)]
    [System.String] $ParsingEnginePackagePath,

    [Parameter(Mandatory = $true)]
    [System.String] $GmaPackageContentPath,

    [Parameter(Mandatory=$false)]
    [System.String] $TranscriptFolderPath = "$env:SystemDrive\Observability\MASLogs\ParsingEngineTaskTranscripts",

    [Parameter(Mandatory=$false)]
    [Switch] $ParseOnce
)

$functionName = $MyInvocation.MyCommand.Name

# TODO: Emit a Windows Event here, but for now use Transcript function
$transcriptFileName = "{0}.{1:yyyy-MM-dd}.log" -f $TaskName, $(Get-Date)
$transcriptFilePath = Join-Path -Path $TranscriptFolderPath -ChildPath $transcriptFileName
Start-Transcript -Path $transcriptFilePath -Append

$curDirectory = Split-Path -parent $MyInvocation.MyCommand.Definition
Import-Module "$PSScriptRoot\ExtensionHelper.psm1"
Import-Module "$GmaPackageContentPath\GMATenantJsonHelper.psm1" -DisableNameChecking
Import-Module "$curDirectory\StandaloneObservabilityConstants.psm1"
$resultFilePath = "$TranscriptFolderPath\Result.json"

try {
    Push-Location $TranscriptFolderPath
    if ($ParseOnce) {
        if (Get-IsArcAEnvironment) {
            # Starting ParsingEngine with factory share path, watermarking enabled, and retries
            Write-Log "$functionName : Going to start ParsingEngine $ParsingEnginePackagePath for logs from $FactorySharePath." -WriteToConsole
            $diagPathJson = ConvertTo-Json -InputObject $FactorySharePath
            $parsingEngineArg = 'IngestionInfo:{"RetainLogsAfterParsing":"true","LogDirectoryPath":' + $diagPathJson + "}"
            Write-Log "$functionName : Parsing command argument $parsingEngineArg." -WriteToConsole
            $parsingEngineExe = "$ParsingEnginePackagePath\$($PipelineConstants.ParsingEngineExeName)"

            $totalRetries = 0
            $maxNumberRetries = 3
            $completedSuccessfully = $false
            do {
                $totalRetries++
                Write-Log "$functionName : Running parsing command $parsingEngineExe $parsingEngineArg" -WriteToConsole
                & $parsingEngineExe $parsingEngineArg

                # Check for status on completion
                $results = Get-Content -Path $resultFilePath
                $resultJson = ConvertFrom-Json -InputObject $results
                if ($resultJson.Failed) {
                    $failureMessage = "ParsingEngine failed on retry $totalRetries/$maxNumberRetries"
                    if ($totalRetries -lt $maxNumberRetries) {
                        Write-Log "$functionName : ParsingEngine Result $results." -WriteToConsole
                        $errorDetails = "ErrorCode: '$($resultJson.ErrorCode)', Exception: '$($resultJson.Exception)'"
                        Write-Log "$functionName : $failureMessage with $errorDetails. Retrying..." -Level WARN -WriteToConsole
                    }
                    else {
                        Write-Log "$functionName : $failureMessage. Retries exhausted." -Level WARN -WriteToConsole
                    }
                }
                else {
                    $completedSuccessfully = $true
                }
            } while (-not $completedSuccessfully -and ($totalRetries -lt $maxNumberRetries))
        }
        else {
            # Starting ParsingEngine with factory share path
            Write-Log "$functionName : Going to start ParsingEngine $ParsingEnginePackagePath for logs from $FactorySharePath." -WriteToConsole
            $diagPathJson = ConvertTo-Json -InputObject $FactorySharePath
            $parsingEngineArg = 'IngestionInfo:{"DisableWaterMarking":"true","RetainLogsAfterParsing":"true","LogDirectoryPath":' + $diagPathJson + "}"
            Write-Log "$functionName : Parsing command argument $parsingEngineArg." -WriteToConsole
            $parsingEngineExe = "$ParsingEnginePackagePath\$($PipelineConstants.ParsingEngineExeName)"
            Write-Log "$functionName : Parsing command $parsingEngineExe $parsingEngineArg" -WriteToConsole
            & $parsingEngineExe $parsingEngineArg
        }
    }
    else {
        # Starting ParsingEngine with diagnostics logs
        $diagPath = Join-Path -Path $FactorySharePath -ChildPath "Diagnostics"
        Write-Log "$functionName : Going to start ParsingEngine $ParsingEnginePackagePath for logs from $diagPath." -WriteToConsole
        $diagPathJson = ConvertTo-Json -InputObject $diagPath
        $parsingEngineArg = 'IngestionInfo:{"LogDirectoryPath":'+ $diagPathJson +"}"
        Write-Log "$functionName : Parsing command argument $parsingEngineArg." -WriteToConsole
        $parsingEngineExe = "$ParsingEnginePackagePath\$($PipelineConstants.ParsingEngineExeName)"
        Write-Log "$functionName : Parsing command $parsingEngineExe $parsingEngineArg" -WriteToConsole
        & $parsingEngineExe $parsingEngineArg

        # Starting ParsingEngine with telemetry logs
        $telPath = Join-Path -Path $FactorySharePath -ChildPath "Telemetry"
        Write-Log "$functionName : Going to start ParsingEngine $ParsingEnginePackagePath for logs from $telPath." -WriteToConsole
        $telPathJson = ConvertTo-Json -InputObject $telPath
        $parsingEngineArg = 'IngestionInfo:{"GenerateTelemetryEvents":"true","LogDirectoryPath":'+ $telPathJson +"}"
        $parsingEngineExe = "$ParsingEnginePackagePath\$($PipelineConstants.ParsingEngineExeName)"
        Write-Log "$functionName : Parsing command $parsingEngineExe $parsingEngineArg" -WriteToConsole
        & $parsingEngineExe $parsingEngineArg
    }

    Write-Log "$functionName : Reading ParsingEngine result from $resultFilePath." -WriteToConsole
    $results = Get-Content -Path $resultFilePath
    Write-Log "$functionName : ParsingEngine Result $results." -WriteToConsole
    $resultJson = ConvertFrom-Json -InputObject $results
    if($resultJson.Failed)
    {
        throw $resultJson.Exception
    }
}
finally {
    Pop-Location
    # TODO: Emit a Windows Event here, but for now use Transcript function
    Stop-Transcript
}


# SIG # Begin signature block
# MIInzQYJKoZIhvcNAQcCoIInvjCCJ7oCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBgg6R3fDe2OK6x
# c206xVwUjhEdWDdOPczkGIXK3TFgz6CCDYUwggYDMIID66ADAgECAhMzAAADTU6R
# phoosHiPAAAAAANNMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNV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