Skip to contents

Build and send a request to the POST API of 'Azure Log Analytics'

Usage

.post_data(customer_id, shared_key, body, log_type)

Arguments

customer_id

customer_id of the 'Azure Log Analytics' workspace

shared_key

shared_key of the 'Azure Log Analytics' workspace

body

Content or message to be logged in JSON format

log_type

Log-Type as defined in 'Azure Log Analytics' document, for custom logging

Value

Returns the HTTP response object