@@ -44,33 +44,25 @@ pub(super) fn default_timestamp_field() -> String {
4444#[ derive( Clone , Debug ) ]
4545#[ serde( deny_unknown_fields) ]
4646pub struct AzureLogsIngestionConfig {
47- /// The [Data collection endpoint URI][endpoint] associated with the Log Analytics workspace.
48- ///
49- /// [endpoint]: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview
47+ /// The [Data collection endpoint URI](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview) associated with the Log Analytics workspace.
5048 #[ configurable( metadata(
5149 docs:: examples = "https://my-dce-5kyl.eastus-1.ingest.monitor.azure.com"
5250 ) ) ]
5351 pub endpoint : String ,
5452
55- /// The [Data collection rule immutable ID][dcr_immutable_id] for the Data collection endpoint.
56- ///
57- /// [dcr_immutable_id]: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview
53+ /// The [Data collection rule immutable ID](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview) for the Data collection endpoint.
5854 #[ configurable( metadata( docs:: examples = "dcr-000a00a000a00000a000000aa000a0aa" ) ) ]
5955 pub dcr_immutable_id : String ,
6056
61- /// The [Stream name][stream_name] for the Data collection rule.
62- ///
63- /// [stream_name]: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview
57+ /// The [Stream name](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview) for the Data collection rule.
6458 #[ configurable( metadata( docs:: examples = "Custom-MyTable" ) ) ]
6559 pub stream_name : String ,
6660
6761 #[ configurable( derived) ]
6862 #[ serde( default ) ]
6963 pub auth : AzureAuthentication ,
7064
71- /// [Token scope][token_scope] for dedicated Azure regions.
72- ///
73- /// [token_scope]: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview
65+ /// [Token scope](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/logs-ingestion-api-overview) for dedicated Azure regions.
7466 #[ configurable( metadata( docs:: examples = "https://monitor.azure.us/.default" ) ) ]
7567 #[ configurable( metadata( docs:: examples = "https://monitor.azure.cn/.default" ) ) ]
7668 #[ serde( default = "default_scope" ) ]
@@ -79,9 +71,8 @@ pub struct AzureLogsIngestionConfig {
7971 /// The destination field (column) for the timestamp.
8072 ///
8173 /// The setting of `log_schema.timestamp_key`, usually `timestamp`, is used as the source.
82- /// Most schemas use `TimeGenerated`, but some use `Timestamp` (legacy) or `EventStartTime` (ASIM) [std_columns].
83- ///
84- /// [std_columns]: https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-standard-columns#timegenerated
74+ /// Most schemas use [`TimeGenerated`](https://learn.microsoft.com/en-us/azure/azure-monitor/logs/log-standard-columns#timegenerated),
75+ /// but some use `Timestamp` (legacy) or `EventStartTime` (ASIM)
8576 #[ configurable( metadata( docs:: examples = "EventStartTime" ) ) ]
8677 #[ configurable( metadata( docs:: examples = "Timestamp" ) ) ]
8778 #[ serde( default = "default_timestamp_field" ) ]
0 commit comments