summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNetdata bot <43409846+netdatabot@users.noreply.github.com>2024-06-29 13:15:35 -0400
committerGitHub <noreply@github.com>2024-06-29 20:15:35 +0300
commit454142900b105e90e27441a46d25d84ee34fd300 (patch)
tree9e56c0f8d64b040d13a24a301a928bde5923482a /src
parent80b03f68fe6cd54a9ef8e3153d70517db019e7f4 (diff)
Regenerate integrations.js (#18038)
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
Diffstat (limited to 'src')
-rw-r--r--src/go/collectors/go.d.plugin/modules/weblog/integrations/web_server_log_files.md67
1 files changed, 31 insertions, 36 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/weblog/integrations/web_server_log_files.md b/src/go/collectors/go.d.plugin/modules/weblog/integrations/web_server_log_files.md
index 0f315826ab..6175272050 100644
--- a/src/go/collectors/go.d.plugin/modules/weblog/integrations/web_server_log_files.md
+++ b/src/go/collectors/go.d.plugin/modules/weblog/integrations/web_server_log_files.md
@@ -217,19 +217,18 @@ Notes:
| url_patterns | List of URL patterns. | [] | no |
| url_patterns.name | Used as a dimension name. | | yes |
| url_patterns.pattern | Used to match against full original request URI. Pattern syntax in [matcher](https://github.com/netdata/netdata/tree/master/src/go/collectors/go.d.plugin/pkg/matcher#supported-format). | | yes |
-| parser | Log parser configuration. | | no |
-| parser.log_type | Log parser type. | auto | no |
-| parser.csv_config | CSV log parser config. | | no |
-| parser.csv_config.delimiter | CSV field delimiter. | , | no |
-| parser.csv_config.format | CSV log format. | | no |
-| parser.ltsv_config | LTSV log parser config. | | no |
-| parser.ltsv_config.field_delimiter | LTSV field delimiter. | \t | no |
-| parser.ltsv_config.value_delimiter | LTSV value delimiter. | : | no |
-| parser.ltsv_config.mapping | LTSV fields mapping to **known fields**. | | yes |
-| parser.json_config | JSON log parser config. | | no |
-| parser.json_config.mapping | JSON fields mapping to **known fields**. | | yes |
-| parser.regexp_config | RegExp log parser config. | | no |
-| parser.regexp_config.pattern | RegExp pattern with named groups. | | yes |
+| log_type | Log parser type. | auto | no |
+| csv_config | CSV log parser config. | | no |
+| csv_config.delimiter | CSV field delimiter. | , | no |
+| csv_config.format | CSV log format. | | no |
+| ltsv_config | LTSV log parser config. | | no |
+| ltsv_config.field_delimiter | LTSV field delimiter. | \t | no |
+| ltsv_config.value_delimiter | LTSV value delimiter. | : | no |
+| ltsv_config.mapping | LTSV fields mapping to **known fields**. | | yes |
+| json_config | JSON log parser config. | | no |
+| json_config.mapping | JSON fields mapping to **known fields**. | | yes |
+| regexp_config | RegExp log parser config. | | no |
+| regexp_config.pattern | RegExp pattern with named groups. | | yes |
##### url_patterns
@@ -246,7 +245,7 @@ url_patterns:
```
-##### parser.log_type
+##### log_type
Weblog supports 5 different log parsers:
@@ -261,8 +260,7 @@ Weblog supports 5 different log parsers:
Syntax:
```yaml
-parser:
- log_type: auto
+log_type: auto
```
If `log_type` parameter set to `auto` (which is default), weblog will try to auto-detect appropriate log parser and log format using the last line of the log file.
@@ -287,43 +285,41 @@ If `log_type` parameter set to `auto` (which is default), weblog will try to aut
If you're using the default Apache/NGINX log format, auto-detect will work for you. If it doesn't work you need to set the format manually.
-##### parser.csv_config.format
+##### csv_config.format
-##### parser.ltsv_config.mapping
+##### ltsv_config.mapping
The mapping is a dictionary where the key is a field, as in logs, and the value is the corresponding **known field**.
> **Note**: don't use `$` and `%` prefixes for mapped field names.
```yaml
-parser:
- log_type: ltsv
- ltsv_config:
- mapping:
- label1: field1
- label2: field2
+log_type: ltsv
+ltsv_config:
+ mapping:
+ label1: field1
+ label2: field2
```
-##### parser.json_config.mapping
+##### json_config.mapping
The mapping is a dictionary where the key is a field, as in logs, and the value is the corresponding **known field**.
> **Note**: don't use `$` and `%` prefixes for mapped field names.
```yaml
-parser:
- log_type: json
- json_config:
- mapping:
- label1: field1
- label2: field2
+log_type: json
+json_config:
+ mapping:
+ label1: field1
+ label2: field2
```
-##### parser.regexp_config.pattern
+##### regexp_config.pattern
Use pattern with subexpressions names. These names should be **known fields**.
@@ -332,10 +328,9 @@ Use pattern with subexpressions names. These names should be **known fields**.
Syntax:
```yaml
-parser:
- log_type: regexp
- regexp_config:
- pattern: PATTERN
+log_type: regexp
+regexp_config:
+ pattern: PATTERN
```