From a4e7a3826941ca1c4ce13242f118b7cd4e6204c2 Mon Sep 17 00:00:00 2001 From: "Agent Fitz ;-)" Date: Fri, 13 Dec 2024 04:10:29 +0800 Subject: [PATCH] Correct the default filename of events-data (#41808) * Update logging.reference.yml.tmpl * Run `make update` to regenerate the docs --------- Co-authored-by: Denis Rechkunov (cherry picked from commit 9b66bb016e6895e33207844e4130848e32a1a63a) --- auditbeat/auditbeat.reference.yml | 2 +- filebeat/filebeat.reference.yml | 2 +- heartbeat/heartbeat.reference.yml | 2 +- libbeat/_meta/config/logging.reference.yml.tmpl | 2 +- libbeat/docs/loggingconfig.asciidoc | 2 +- metricbeat/metricbeat.reference.yml | 2 +- packetbeat/packetbeat.reference.yml | 2 +- winlogbeat/winlogbeat.reference.yml | 2 +- x-pack/auditbeat/auditbeat.reference.yml | 2 +- x-pack/filebeat/filebeat.reference.yml | 2 +- x-pack/functionbeat/functionbeat.reference.yml | 2 +- x-pack/heartbeat/heartbeat.reference.yml | 2 +- x-pack/metricbeat/metricbeat.reference.yml | 2 +- x-pack/osquerybeat/osquerybeat.reference.yml | 2 +- x-pack/packetbeat/packetbeat.reference.yml | 2 +- x-pack/winlogbeat/winlogbeat.reference.yml | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/auditbeat/auditbeat.reference.yml b/auditbeat/auditbeat.reference.yml index 8f684d78d038..9d4919eb24fa 100644 --- a/auditbeat/auditbeat.reference.yml +++ b/auditbeat/auditbeat.reference.yml @@ -1573,7 +1573,7 @@ logging.files: #path: /var/log/auditbeat # The name of the files where the logs are written to. - #name: auditbeat-event-data + #name: auditbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/filebeat/filebeat.reference.yml b/filebeat/filebeat.reference.yml index a8fc37fbbe8b..700f3d8e788b 100644 --- a/filebeat/filebeat.reference.yml +++ b/filebeat/filebeat.reference.yml @@ -2693,7 +2693,7 @@ logging.files: #path: /var/log/filebeat # The name of the files where the logs are written to. - #name: filebeat-event-data + #name: filebeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/heartbeat/heartbeat.reference.yml b/heartbeat/heartbeat.reference.yml index 3632ce12bbd3..80272414cbfa 100644 --- a/heartbeat/heartbeat.reference.yml +++ b/heartbeat/heartbeat.reference.yml @@ -1660,7 +1660,7 @@ logging.files: #path: /var/log/heartbeat # The name of the files where the logs are written to. - #name: heartbeat-event-data + #name: heartbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/libbeat/_meta/config/logging.reference.yml.tmpl b/libbeat/_meta/config/logging.reference.yml.tmpl index e0921d0ff827..612b6d5aa2d0 100644 --- a/libbeat/_meta/config/logging.reference.yml.tmpl +++ b/libbeat/_meta/config/logging.reference.yml.tmpl @@ -92,7 +92,7 @@ logging.files: #path: /var/log/{{.BeatName}} # The name of the files where the logs are written to. - #name: {{.BeatName}}-event-data + #name: {{.BeatName}}-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/libbeat/docs/loggingconfig.asciidoc b/libbeat/docs/loggingconfig.asciidoc index c9bb53440460..dd3a70811713 100644 --- a/libbeat/docs/loggingconfig.asciidoc +++ b/libbeat/docs/loggingconfig.asciidoc @@ -320,7 +320,7 @@ the <> section for details. [float] ==== `logging.event_data.files.name` -The name of the file that logs are written to. The default is '{beatname_lc}'-event-data. +The name of the file that logs are written to. The default is '{beatname_lc}'-events-data. [float] ==== `logging.event_data.files.rotateeverybytes` diff --git a/metricbeat/metricbeat.reference.yml b/metricbeat/metricbeat.reference.yml index f1412be4b6f2..684c6f2eb949 100644 --- a/metricbeat/metricbeat.reference.yml +++ b/metricbeat/metricbeat.reference.yml @@ -2492,7 +2492,7 @@ logging.files: #path: /var/log/metricbeat # The name of the files where the logs are written to. - #name: metricbeat-event-data + #name: metricbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/packetbeat/packetbeat.reference.yml b/packetbeat/packetbeat.reference.yml index 7041e79ea748..1bbcb7c33253 100644 --- a/packetbeat/packetbeat.reference.yml +++ b/packetbeat/packetbeat.reference.yml @@ -2039,7 +2039,7 @@ logging.files: #path: /var/log/packetbeat # The name of the files where the logs are written to. - #name: packetbeat-event-data + #name: packetbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/winlogbeat/winlogbeat.reference.yml b/winlogbeat/winlogbeat.reference.yml index 47a61d36faf9..4082b1964e39 100644 --- a/winlogbeat/winlogbeat.reference.yml +++ b/winlogbeat/winlogbeat.reference.yml @@ -1450,7 +1450,7 @@ logging.files: #path: /var/log/winlogbeat # The name of the files where the logs are written to. - #name: winlogbeat-event-data + #name: winlogbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/x-pack/auditbeat/auditbeat.reference.yml b/x-pack/auditbeat/auditbeat.reference.yml index 191c993d6d7d..dd3655c8f720 100644 --- a/x-pack/auditbeat/auditbeat.reference.yml +++ b/x-pack/auditbeat/auditbeat.reference.yml @@ -1637,7 +1637,7 @@ logging.files: #path: /var/log/auditbeat # The name of the files where the logs are written to. - #name: auditbeat-event-data + #name: auditbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/x-pack/filebeat/filebeat.reference.yml b/x-pack/filebeat/filebeat.reference.yml index c5c04232cd3f..743a31a8610f 100644 --- a/x-pack/filebeat/filebeat.reference.yml +++ b/x-pack/filebeat/filebeat.reference.yml @@ -4612,7 +4612,7 @@ logging.files: #path: /var/log/filebeat # The name of the files where the logs are written to. - #name: filebeat-event-data + #name: filebeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/x-pack/functionbeat/functionbeat.reference.yml b/x-pack/functionbeat/functionbeat.reference.yml index a3df78c4e2df..eb3678b19069 100644 --- a/x-pack/functionbeat/functionbeat.reference.yml +++ b/x-pack/functionbeat/functionbeat.reference.yml @@ -1288,7 +1288,7 @@ logging.files: #path: /var/log/functionbeat # The name of the files where the logs are written to. - #name: functionbeat-event-data + #name: functionbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/x-pack/heartbeat/heartbeat.reference.yml b/x-pack/heartbeat/heartbeat.reference.yml index 3632ce12bbd3..80272414cbfa 100644 --- a/x-pack/heartbeat/heartbeat.reference.yml +++ b/x-pack/heartbeat/heartbeat.reference.yml @@ -1660,7 +1660,7 @@ logging.files: #path: /var/log/heartbeat # The name of the files where the logs are written to. - #name: heartbeat-event-data + #name: heartbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/x-pack/metricbeat/metricbeat.reference.yml b/x-pack/metricbeat/metricbeat.reference.yml index c20ebe03afe0..f3c2d39b0298 100644 --- a/x-pack/metricbeat/metricbeat.reference.yml +++ b/x-pack/metricbeat/metricbeat.reference.yml @@ -3079,7 +3079,7 @@ logging.files: #path: /var/log/metricbeat # The name of the files where the logs are written to. - #name: metricbeat-event-data + #name: metricbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/x-pack/osquerybeat/osquerybeat.reference.yml b/x-pack/osquerybeat/osquerybeat.reference.yml index 7e8ccd5e8424..16c879aabc51 100644 --- a/x-pack/osquerybeat/osquerybeat.reference.yml +++ b/x-pack/osquerybeat/osquerybeat.reference.yml @@ -1007,7 +1007,7 @@ logging.files: #path: /var/log/osquerybeat # The name of the files where the logs are written to. - #name: osquerybeat-event-data + #name: osquerybeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/x-pack/packetbeat/packetbeat.reference.yml b/x-pack/packetbeat/packetbeat.reference.yml index 7041e79ea748..1bbcb7c33253 100644 --- a/x-pack/packetbeat/packetbeat.reference.yml +++ b/x-pack/packetbeat/packetbeat.reference.yml @@ -2039,7 +2039,7 @@ logging.files: #path: /var/log/packetbeat # The name of the files where the logs are written to. - #name: packetbeat-event-data + #name: packetbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated. diff --git a/x-pack/winlogbeat/winlogbeat.reference.yml b/x-pack/winlogbeat/winlogbeat.reference.yml index 96e912ea41ca..7fedac688041 100644 --- a/x-pack/winlogbeat/winlogbeat.reference.yml +++ b/x-pack/winlogbeat/winlogbeat.reference.yml @@ -1452,7 +1452,7 @@ logging.files: #path: /var/log/winlogbeat # The name of the files where the logs are written to. - #name: winlogbeat-event-data + #name: winlogbeat-events-data # Configure log file size limit. If the limit is reached, log file will be # automatically rotated.