Skip to content

Commit c65c0e5

Browse files
Merge pull request #186 from kube-logging/plugins-anchor-fixes
Fix broken generated anchors in plugin docs
2 parents 2c7faf2 + fd75abf commit c65c0e5

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

content/docs/configuration/plugins/filters/parser.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -239,121 +239,121 @@ Default: -
239239

240240
## Parse Section (single)
241241

242-
### type (string, optional) {#parse section-(single)-type}
242+
### type (string, optional) {#parse-section-type}
243243

244244
Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok
245245

246246
Default: -
247247

248-
### expression (string, optional) {#parse section-(single)-expression}
248+
### expression (string, optional) {#parse-section-expression}
249249

250250
Regexp expression to evaluate
251251

252252
Default: -
253253

254-
### time_key (string, optional) {#parse section-(single)-time_key}
254+
### time_key (string, optional) {#parse-section-time_key}
255255

256256
Specify time field for event time. If the event doesn't have this field, current time is used.
257257

258258
Default: -
259259

260-
### null_value_pattern (string, optional) {#parse section-(single)-null_value_pattern}
260+
### null_value_pattern (string, optional) {#parse-section-null_value_pattern}
261261

262262
Specify null value pattern.
263263

264264
Default: -
265265

266-
### null_empty_string (bool, optional) {#parse section-(single)-null_empty_string}
266+
### null_empty_string (bool, optional) {#parse-section-null_empty_string}
267267

268268
If true, empty string field is replaced with nil
269269

270270
Default: -
271271

272-
### estimate_current_event (bool, optional) {#parse section-(single)-estimate_current_event}
272+
### estimate_current_event (bool, optional) {#parse-section-estimate_current_event}
273273

274274
If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.
275275

276276
Default: -
277277

278-
### keep_time_key (bool, optional) {#parse section-(single)-keep_time_key}
278+
### keep_time_key (bool, optional) {#parse-section-keep_time_key}
279279

280280
If true, keep time field in the record.
281281

282282
Default: -
283283

284-
### types (string, optional) {#parse section-(single)-types}
284+
### types (string, optional) {#parse-section-types}
285285

286286
Types casting the fields to proper types example: field1:type, field2:type
287287

288288
Default: -
289289

290-
### time_format (string, optional) {#parse section-(single)-time_format}
290+
### time_format (string, optional) {#parse-section-time_format}
291291

292292
Process value using specified format. This is available only when time_type is string
293293

294294
Default: -
295295

296-
### time_type (string, optional) {#parse section-(single)-time_type}
296+
### time_type (string, optional) {#parse-section-time_type}
297297

298298
Parse/format value according to this type available values: float, unixtime, string
299299

300300
Default: string
301301

302-
### local_time (bool, optional) {#parse section-(single)-local_time}
302+
### local_time (bool, optional) {#parse-section-local_time}
303303

304304
Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.
305305

306306
Default: true
307307

308-
### utc (bool, optional) {#parse section-(single)-utc}
308+
### utc (bool, optional) {#parse-section-utc}
309309

310310
If true, use UTC. Otherwise, local time is used. This is exclusive with localtime
311311

312312
Default: false
313313

314-
### timezone (string, optional) {#parse section-(single)-timezone}
314+
### timezone (string, optional) {#parse-section-timezone}
315315

316316
Use specified timezone. one can parse/format the time value in the specified timezone.
317317

318318
Default: nil
319319

320-
### format (string, optional) {#parse section-(single)-format}
320+
### format (string, optional) {#parse-section-format}
321321

322322
Only available when using type: multi_format
323323

324324
Default: -
325325

326-
### grok_pattern (string, optional) {#parse section-(single)-grok_pattern}
326+
### grok_pattern (string, optional) {#parse-section-grok_pattern}
327327

328328
Only available when using format: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.
329329

330330
Default: -
331331

332-
### custom_pattern_path (*secret.Secret, optional) {#parse section-(single)-custom_pattern_path}
332+
### custom_pattern_path (*secret.Secret, optional) {#parse-section-custom_pattern_path}
333333

334334
Only available when using format: grok, multiline_grok. File that includes custom grok patterns.
335335

336336
Default: -
337337

338-
### grok_failure_key (string, optional) {#parse section-(single)-grok_failure_key}
338+
### grok_failure_key (string, optional) {#parse-section-grok_failure_key}
339339

340340
Only available when using format: grok, multiline_grok. The key has grok failure reason.
341341

342342
Default: -
343343

344-
### grok_name_key (string, optional) {#parse section-(single)-grok_name_key}
344+
### grok_name_key (string, optional) {#parse-section-grok_name_key}
345345

346346
Only available when using format: grok, multiline_grok. The key name to store grok section's name.
347347

348348
Default: -
349349

350-
### multiline_start_regexp (string, optional) {#parse section-(single)-multiline_start_regexp}
350+
### multiline_start_regexp (string, optional) {#parse-section-multiline_start_regexp}
351351

352352
Only available when using format: multiline_grok The regexp to match beginning of multiline.
353353

354354
Default: -
355355

356-
### grok_patterns ([]GrokSection, optional) {#parse section-(single)-grok_patterns}
356+
### grok_patterns ([]GrokSection, optional) {#parse-section-grok_patterns}
357357

358358
Only available when using format: grok, multiline_grok. [Grok Section](#grok-section) Specify grok pattern series set.
359359

content/docs/configuration/plugins/filters/record_modifier.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,19 @@ spec:
8080

8181
Specify replace rule. This directive contains three parameters.
8282

83-
### key (string, required) {#[replace directive](https://github.com/repeatedly/fluent-plugin-record-modifier#replace_keys_value)-key}
83+
### key (string, required) {#replace-directive-replace_keys_value-key}
8484

8585
Key to search for
8686

8787
Default: -
8888

89-
### expression (string, required) {#[replace directive](https://github.com/repeatedly/fluent-plugin-record-modifier#replace_keys_value)-expression}
89+
### expression (string, required) {#replace-directive-replace_keys_value-expression}
9090

9191
Regular expression
9292

9393
Default: -
9494

95-
### replace (string, required) {#[replace directive](https://github.com/repeatedly/fluent-plugin-record-modifier#replace_keys_value)-replace}
95+
### replace (string, required) {#replace-directive-replace_keys_value-replace}
9696

9797
Value to replace with
9898

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
title: Outputs
2+
title: Fluentd outputs
33
---
44

0 commit comments

Comments
 (0)