'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/
.build_signature(
customer_id,
shared_key,
date,
content_length,
method,
content_type,
resource
)Returns part of the header of HTTP POST request to be sent to 'Azure Log Analytics' workspace
customer_id of the 'Azure Log Analytics' workspace
shared_key of the 'Azure Log Analytics' workspace
date-time of logging event
Content length of the body
Only one value is expected - POST
Only one value is expected - application/json
Only one value is expected - /api/logs