Skip to content

Commit

Permalink
add stream_name to flb_az_li
Browse files Browse the repository at this point in the history
Signed-off-by: Jed Laundry <[email protected]>
  • Loading branch information
jlaundry committed Feb 9, 2024
1 parent 11dc25b commit 3ef3cc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/out_azure_logs_ingestion/azure_logs_ingestion.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
/* auth url needs tenant_id */
#define FLB_AZ_LI_AUTH_URL_TMPLT "https://login.microsoftonline.com/"\
"%s/oauth2/v2.0/token"
/* DCE Full URL needs: dce_url, dcr_id, Log Analytics custom table name */
/* DCE Full URL needs: dce_url, dcr_id, stream_name */
#define FLB_AZ_LI_DCE_URL_TMPLT "%s/dataCollectionRules/%s/streams/"\
"%s?"FLB_AZ_LI_API_VERSION
/* TLS Modes for upstream connection = FLB_IO_TLS or FLB_IO_OPT_TLS*/
Expand All @@ -47,6 +47,7 @@ struct flb_az_li {
flb_sds_t dce_url;
flb_sds_t dcr_id;
flb_sds_t table_name;
flb_sds_t stream_name;

/* time_generated: on/off */
int time_generated;
Expand Down

0 comments on commit 3ef3cc0

Please sign in to comment.