SimplePSLogger.AzLogAnalytics/SimplePSLogger.AzLogAnalytics.psm1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
<#
    Source - https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-collector-api#powershell-sample
#>

Function Build-Signature ($customerId, $sharedKey, $date, $contentLength, $method, $contentType, $resource) {
    $xHeaders = "x-ms-date:" + $date
    $stringToHash = $method + "`n" + $contentLength + "`n" + $contentType + "`n" + $xHeaders + "`n" + $resource

    $bytesToHash = [Text.Encoding]::UTF8.GetBytes($stringToHash)
    $keyBytes = [Convert]::FromBase64String($sharedKey)

    $sha256 = New-Object System.Security.Cryptography.HMACSHA256
    $sha256.Key = $keyBytes
    $calculatedHash = $sha256.ComputeHash($bytesToHash)
    $encodedHash = [Convert]::ToBase64String($calculatedHash)
    $authorization = 'SharedKey {0}:{1}' -f $customerId, $encodedHash
    return $authorization
}

<#
     
#>

Function Send-LogAnalyticsData($customerId, $sharedKey, $body, $logType) {
    $method = "POST"
    $contentType = "application/json"
    $resource = "/api/logs"
    $rfc1123date = [DateTime]::UtcNow.ToString("r")
    $contentLength = $body.Length
    $signature = Build-Signature `
        -customerId $customerId `
        -sharedKey $sharedKey `
        -date $rfc1123date `
        -contentLength $contentLength `
        -method $method `
        -contentType $contentType `
        -resource $resource
    
    if (-Not  $logType) {
        $logType = "SimplePSLogger"
    }
    $headers = @{
        "Authorization" = $signature;
        "Log-Type"      = $logType;
        "x-ms-date"     = $rfc1123date;
    }
    $endpoint = "https://" + $customerId + ".ods.opinsights.azure.com" + $resource + "?api-version=2016-04-01"
    try {
        $params = @{
            "ContentType" = "application/json"
            "Header"      = $headers
            "Body"        = $body
            "Method"      = "POST"
            "URI"         = $endpoint
        }

        # TODO : add status code check and resiliency
        $null = Invoke-RestMethod @params
    }
    catch {
        throw
    }
}

<#
.SYNOPSIS
    AzLogAnalytics logging provider for SimplePSLogger logger
    This provider send log to Azure Log Analytics https://dev.loganalytics.io/documentation/Overview
    Use - https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-collector-api
    https://docs.microsoft.com/en-us/azure/azure-monitor/platform/metrics-store-custom-rest-api
    Limits - https://docs.microsoft.com/en-us/azure/azure-monitor/platform/data-collector-api#data-limits
.DESCRIPTION
    TODO: add more details
    More details
 
 
.PARAMETER Name
    SimplePSLogger action execution id which is used to identify executing action
.PARAMETER Level
    Log level : allowed values are - "verbose", "debug", "information", "warning", "error", "critical", "none"
    TODO : add more infor for each level
.PARAMETER Message
    Log message :
        String - plain text string
        OtherTypes - json serialized string
 
.PARAMETER Config
    Required configuration provided by user
 
.EXAMPLE
    TODO : Add examples
 
.NOTES
    Author: Ganesh Raskar
     
#>

Function New-AzLogAnalytics-Logger {
    [CmdletBinding()]
    param (
        [Parameter(Mandatory = $true, HelpMessage = "Name of the SimplePSLogger instance")]
        [string]
        $Name,
        [Parameter(Mandatory = $false, HelpMessage = "Log level, default value is information")]
        [string]
        $Level,
        [Parameter(Mandatory = $true, HelpMessage = "Log message")]
        [string]
        $Message,
        [Parameter(Mandatory = $false, HelpMessage = "Configuration object")]
        [object]
        $Config,
        # Flush logs to make sure all logs gets logged
        [Parameter(Mandatory = $false)]
        [Switch]
        $Flush
    )

    # TODO : SimpleLogger will pass on current provider name(my name :P)
    #$CurrentProviderName = "AzLogAnalytics"
    #$bufferedFile = Join-Path $([system.io.path]::GetTempPath()) -ChildPath "$Name.$CurrentProviderName.log"

    # TODO : refactor?
    if (-Not $Config) {
        Write-Warning "Configuration not provided for 'AzLogAnalytics' provider"
    }
    if (-Not $Config['WorkspaceId']) {
        Write-Warning "Azure Log Analytics WorkspaceId not provided for 'AzLogAnalytics' provider"
    }

    if (-Not $Config['WorkspaceKey']) {
        Write-Warning "Azure Log Analytics WorkspaceKey(secret) not provided for 'AzLogAnalytics' provider"
    }
    if (-Not $Config['LogType']) {
        $Config['LogType'] = "SimplePSLogger"
    }
    if (-Not $Config["BufferSize"]) {
        $Config["BufferSize"] = 20
    }

    $logMessage = "$((Get-Date).ToUniversalTime().ToString("yyyy/MM/ddHH:mm:ss:fffftt"))`t$Name`t$($Level)`t$($Message.Trim())"

    $bufferFileName = Join-Path $([system.io.path]::GetTempPath()) -ChildPath "$Name-az-loganalytics.log"
    
    if (-Not $(Test-Path -Path $bufferFileName)) {
        New-Item $bufferFileName -ItemType file
    }

    $currentBufferSize = Get-Content $bufferFileName | Measure-Object -Line
    $LogsToFlush = New-Object Collections.Generic.List[Object]

    if ($currentBufferSize.Lines -ge $Config["BufferSize"] -or $Flush) {
        # in case, someone modify file and added line
        if (-Not $Flush) {
            Add-Content -Path $bufferFileName -Value $logMessage
        }

        $content = Get-Content -Path $bufferFileName

        foreach ($line in $content) {
            # Help : do we need to replace `t with 'space char'? What if message contains `t char?
            $log = $line.Split("`t")
            if ($log.Count -gt 4 -or $log.Count -lt 4) {
                Write-Information "Malformed log entry found. Logging entire content as log message"
                $lineItem = New-Object -TypeName psobject
                $lineItem | Add-Member -MemberType NoteProperty -Name Timestamp -Value $((Get-Date).ToUniversalTime().ToString("yyyy/MM/dd HH:mm:ss:ffff tt"))
                $lineItem | Add-Member -MemberType NoteProperty -Name LoggerName -Value $Name
                $lineItem | Add-Member -MemberType NoteProperty -Name Level -Value "information"
                $lineItem | Add-Member -MemberType NoteProperty -Name Message -Value $line
                $LogsToFlush.Add($lineItem)
            }
            else {
                $lineItem = New-Object -TypeName psobject
                $lineItem | Add-Member -MemberType NoteProperty -Name Timestamp -Value $log[0].Trim()
                $lineItem | Add-Member -MemberType NoteProperty -Name LoggerName -Value $log[1].Trim()
                $lineItem | Add-Member -MemberType NoteProperty -Name Level -Value $log[2].Trim()
                $lineItem | Add-Member -MemberType NoteProperty -Name Message -Value $log[3]
                $LogsToFlush.Add($lineItem)
            }
        }
        $payLoad = $LogsToFlush | ConvertTo-Json -Depth 20 -Compress -AsArray
        #Flush to LAWS
        try {
            Send-LogAnalyticsData -customerId $Config['WorkspaceId'] -sharedKey $Config['WorkspaceKey'] -body $payLoad -logType $Config['LogType']    
            Remove-Item -Path $bufferFileName -Force
        }
        catch {
            throw
        }
        finally {
            # TODO : retains logs and try agian
        }
    }
    else {
        Add-Content -Path $bufferFileName -Value $logMessage
    }
}

# TODO : is there any way to ignore other functions export?
Export-ModuleMember -Function New-AzLogAnalytics-Logger, Send-LogAnalyticsData, Build-Signature



# SIG # Begin signature block
# MIIYYQYJKoZIhvcNAQcCoIIYUjCCGE4CAQExCzAJBgUrDgMCGgUAMGkGCisGAQQB
# gjcCAQSgWzBZMDQGCisGAQQBgjcCAR4wJgIDAQAABBAfzDtgWUsITrck0sYpfvNR
# AgEAAgEAAgEAAgEAAgEAMCEwCQYFKw4DAhoFAAQUfrH2G+CsKQ7uCIoKGC3fBMMf
# szugghKzMIIFcDCCA1igAw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