.build_signature {azlogr}R Documentation

Build API signature for logging to 'Azure Log Analytics'

Description

'Azure Log Analytics' HTTP REST API documentation for 'Python' is followed to create the 'R' version of it. 'Python' version of this function is described at https://learn.microsoft.com/en-us/azure/azure-monitor/logs/data-collector-api?tabs=python#sample-requests/

Usage

.build_signature(
  customer_id,
  shared_key,
  date,
  content_length,
  method,
  content_type,
  resource
)

Arguments

customer_id

customer_id of the 'Azure Log Analytics' workspace

shared_key

shared_key of the 'Azure Log Analytics' workspace

date

date-time of logging event

content_length

Content length of the body

method

Only one value is expected - POST

content_type

Only one value is expected - application/json

resource

Only one value is expected - /api/logs

Value

Returns part of the header of HTTP POST request to be sent to 'Azure Log Analytics' workspace


[Package azlogr version 0.0.6 Index]