azure_monitor_upload
Type: Plugin
Upload rows to Azure Monitor / Log Analytics via the Logs Ingestion API (Data Collection Rule).
| Argument |
Type |
Description |
query |
StoredQuery (required) |
Source for rows to upload. |
threads |
int64 |
How many threads to use. |
logs_ingestion_endpoint |
string |
The Logs Ingestion endpoint URI of the Data Collection Rule (or a Data Collection Endpoint). |
dcr_immutable_id |
string |
The immutable ID of the Data Collection Rule (e.g. dcr-xxxxxxxx). |
stream_name |
string |
The DCR input stream name (e.g. Custom-RawVelociraptorEvents_CL). If empty it is derived from table as ‘Custom-’.
table |
string |
Used to derive stream_name as ‘Custom-’ when stream_name is not set. Unused otherwise.
tenant_id |
string |
Azure Service Principal Tenant ID. |
client_id |
string |
Azure Service Principal Client ID. |
client_secret |
string |
Azure Service Principal Client Secret. |
managed_identity |
bool |
Use an Azure managed identity instead of a service principal (requires that the server runs in Azure). |
managed_identity_client_id |
string |
Optional client ID of a user-assigned managed identity. |
default_credential |
bool |
Use the Azure SDK DefaultAzureCredential chain (AZURE_* env vars, workload identity, managed identity, Azure CLI). |
chunk_size |
int64 |
The number of rows to send at a time. |
wait_time |
int64 |
Batch upload at most this long in seconds (default 5). |
max_memory_buffer |
uint64 |
Max uncompressed request body in bytes; keep under the ~1MB Azure limit (default 900KB). |
skip_verify |
bool |
Skip TLS verification (default: False). |
root_ca |
string |
As a better alternative to skip_verify, allows root ca certs to be added here. |
max_retries |
int64 |
Maximum number of retries for failed uploads (default: 3). |
retry_wait |
int64 |
Base wait time in seconds for exponential backoff between retries (default: 2). |
secret |
string |
Alternatively use a secret from the secrets service. Secret must be of type ‘Azure Monitor Creds’. |
Required permissions: NETWORK
Platforms: macOS, Linux, Windows
| |