@@ -58,77 +58,78 @@ Use this configuration to quickly get started:
58
58
59
59
``` yaml
60
60
pipeline :
61
- inputs :
62
- - name : tail
63
- path : /path/to/your/sample.log
64
- tag : sample
65
- key : RawData
66
-
67
- # Or use other plugins
68
- # - name: cpu
69
- # tag: sample
70
-
71
- filters :
72
- - name : modify
73
- match : sample
74
- # Add a json key named "Application":"fb_log"
75
- add : Application fb_log
76
-
77
- outputs :
78
- # Enable this section to see your json-log format
79
- # - name: stdout
80
- # match: '*'
81
-
82
- - name : azure_logs_ingestion
83
- match : sample
84
- client_id : XXXXXXXX-xxxx-yyyy-zzzz-xxxxyyyyzzzzxyzz
85
- client_secret : some.secret.xxxzzz
86
- tenant_id : XXXXXXXX-xxxx-yyyy-zzzz-xxxxyyyyzzzzxyzz
87
- dce_url : https://log-analytics-dce-XXXX.region-code.ingest.monitor.azure.com
88
- dcr_id : dcr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
89
- table_name : ladcr_CL
90
- time_generated : true
91
- time_key : Time
92
- compress : true
61
+ inputs :
62
+ - name : tail
63
+ path : /path/to/your/sample.log
64
+ tag : sample
65
+ key : RawData
66
+
67
+ # Or use other plugins
68
+ # - name: cpu
69
+ # tag: sample
70
+
71
+ filters :
72
+ - name : modify
73
+ match : sample
74
+ # Add a json key named "Application":"fb_log"
75
+ add : Application fb_log
76
+
77
+ outputs :
78
+ # Enable this section to see your json-log format
79
+ # - name: stdout
80
+ # match: '*'
81
+
82
+ - name : azure_logs_ingestion
83
+ match : sample
84
+ client_id : XXXXXXXX-xxxx-yyyy-zzzz-xxxxyyyyzzzzxyzz
85
+ client_secret : some.secret.xxxzzz
86
+ tenant_id : XXXXXXXX-xxxx-yyyy-zzzz-xxxxyyyyzzzzxyzz
87
+ dce_url : https://log-analytics-dce-XXXX.region-code.ingest.monitor.azure.com
88
+ dcr_id : dcr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
89
+ table_name : ladcr_CL
90
+ time_generated : true
91
+ time_key : Time
92
+ compress : true
93
93
` ` `
94
94
95
95
{% endtab %}
96
96
{% tab title="fluent-bit.conf" %}
97
97
98
98
` ` ` text
99
99
[INPUT]
100
- Name tail
101
- Path /path/to/your/sample.log
102
- Tag sample
103
- Key RawData
100
+ Name tail
101
+ Path /path/to/your/sample.log
102
+ Tag sample
103
+ Key RawData
104
+
104
105
# Or use other plugins
105
- # [INPUT]
106
- # Name cpu
107
- # Tag sample
106
+ # [INPUT]
107
+ # Name cpu
108
+ # Tag sample
108
109
109
110
[FILTER]
110
- Name modify
111
- Match sample
112
- # Add a json key named "Application":"fb_log"
113
- Add Application fb_log
111
+ Name modify
112
+ Match sample
113
+ # Add a json key named "Application":"fb_log"
114
+ Add Application fb_log
114
115
115
116
# Enable this section to see your json-log format
116
117
# [OUTPUT]
117
- # Name stdout
118
- # Match *
118
+ # Name stdout
119
+ # Match *
119
120
120
121
[OUTPUT]
121
- Name azure_logs_ingestion
122
- Match sample
123
- client_id XXXXXXXX-xxxx-yyyy-zzzz-xxxxyyyyzzzzxyzz
124
- client_secret some.secret.xxxzzz
125
- tenant_id XXXXXXXX-xxxx-yyyy-zzzz-xxxxyyyyzzzzxyzz
126
- dce_url https://log-analytics-dce-XXXX.region-code.ingest.monitor.azure.com
127
- dcr_id dcr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
128
- table_name ladcr_CL
129
- time_generated true
130
- time_key Time
131
- Compress true
122
+ Name azure_logs_ingestion
123
+ Match sample
124
+ client_id XXXXXXXX-xxxx-yyyy-zzzz-xxxxyyyyzzzzxyzz
125
+ client_secret some.secret.xxxzzz
126
+ tenant_id XXXXXXXX-xxxx-yyyy-zzzz-xxxxyyyyzzzzxyzz
127
+ dce_url https://log-analytics-dce-XXXX.region-code.ingest.monitor.azure.com
128
+ dcr_id dcr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
129
+ table_name ladcr_CL
130
+ time_generated true
131
+ time_key Time
132
+ Compress true
132
133
```
133
134
134
135
{% endtab %}
0 commit comments