Skip to content

Commit

Permalink
Rename logs to logfile (elastic#146)
Browse files Browse the repository at this point in the history
* Rename logs to logfile

* Rename input.type in config_templates

* Adjust config_template
  • Loading branch information
mtojek authored Jul 2, 2020
1 parent e3ea25e commit ea120ca
Show file tree
Hide file tree
Showing 31 changed files with 30 additions and 31 deletions.
1 change: 0 additions & 1 deletion dev/import-beats/packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ func (r *packageRepository) createPackagesFromSource(beatsDir, beatName, beatTyp

aPackage := r.packages[moduleName]
manifest := aPackage.manifest
manifest.Categories = append(manifest.Categories, beatType)

// fields
moduleFields, maybeTitle, err := loadModuleFields(modulePath)
Expand Down
2 changes: 1 addition & 1 deletion dev/import-beats/streams.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func createLogStreams(modulePath, moduleTitle, datasetName string) ([]util.Strea
for _, inputType := range root.inputTypes() {
aType := inputType
if inputType == "log" {
aType = "logs"
aType = "logfile"
}
targetFileName := inputType + ".yml.hbs"

Expand Down
2 changes: 1 addition & 1 deletion packages/apache/dataset/access/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Apache access logs
release: beta
type: logs
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/apache/dataset/error/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Apache error logs
release: beta
type: logs
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/apache/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ config_templates:
title: Apache logs and metrics
description: Collect logs and metrics from Apache instances
inputs:
- type: logs
- type: logfile
title: Collect logs from Apache instances
description: Collecting Apache access and error logs
- type: apache/metrics
Expand Down
2 changes: 1 addition & 1 deletion packages/cisco/dataset/asa/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ streams:
required: true
show_user: false
default: 7
- input: logs
- input: logfile
title: Cisco ASA logs
description: Collect Cisco ASA logs from file
vars:
Expand Down
2 changes: 1 addition & 1 deletion packages/cisco/dataset/ftd/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ streams:
required: true
show_user: false
default: 7
- input: logs
- input: logfile
title: Cisco FTD logs
description: Collect Cisco FTD logs from file
vars:
Expand Down
2 changes: 1 addition & 1 deletion packages/cisco/dataset/ios/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ streams:
required: true
show_user: true
default: 9002
- input: logs
- input: logfile
title: Cisco IOS logs
description: Collect Cisco IOS logs from file
vars:
Expand Down
2 changes: 1 addition & 1 deletion packages/cisco/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ config_templates:
- type: syslog
title: Collect logs from Cisco via syslog
description: Collecting logs from Cisco IOS via syslog
- type: logs
- type: logfile
title: Collect logs from Cisco via file
description: Collecting logs from Cisco ASA, FTD, and IOS via file
2 changes: 1 addition & 1 deletion packages/kafka/dataset/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Kafka log logs
release: beta
type: logs
streams:
- input: logs
- input: logfile
vars:
- name: kafka_home
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/kafka/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ config_templates:
title: Kafka logs and metrics
description: Collect logs and metrics from Kafka brokers
inputs:
- type: logs
- type: logfile
title: Collect logs from Kafka brokers
description: Collecting Kafka log logs
- type: kafka/metrics
Expand Down
2 changes: 1 addition & 1 deletion packages/log/dataset/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ default: true
id: generic

streams:
- input: logs
- input: logfile
title: Collect log files
vars:
- name: paths
Expand Down
2 changes: 1 addition & 1 deletion packages/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config_templates:
title: Custom logs
description: Collect your custom log files.
inputs:
- type: logs
- type: logfile
title: Custom log file
description: Collect your custom log files.
icons:
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb/dataset/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: mongodb log logs
release: beta
type: logs
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/mongodb/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ datasources:
title: MongoDB logs and metrics
description: Collect logs and metrics from MongoDB instances
inputs:
- type: logs
- type: logfile
title: Collect MongoDB application logs
description: Collecting application logs from MongoDB instances
- type: mongodb/metrics
Expand Down
2 changes: 1 addition & 1 deletion packages/mysql/dataset/error/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: MySQL error logs
type: logs
release: beta
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/mysql/dataset/slowlog/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: MySQL slowlog logs
type: logs
release: beta
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/mysql/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ config_templates:
title: MySQL logs and metrics
description: Collect logs and metrics from MySQL instances
inputs:
- type: logs
- type: logfile
title: Collect logs from MySQL hosts
description: Collecting MySQL error and slowlog logs
- type: mysql/metrics
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx/dataset/access/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Nginx access logs
type: logs
release: beta
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx/dataset/error/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Nginx error logs
type: logs
release: beta
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx/dataset/ingress_controller/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Nginx ingress_controller logs
type: logs
release: beta
streams:
- input: logs
- input: logfile
enabled: false
vars:
- name: paths
Expand Down
2 changes: 1 addition & 1 deletion packages/nginx/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ config_templates:
title: Nginx logs and metrics
description: Collect logs and metrics from Nginx instances
inputs:
- type: logs
- type: logfile
title: Collect logs from Nginx instances
description: Collecting Nginx access, error and ingress controller logs
- type: nginx/metrics
Expand Down
2 changes: 1 addition & 1 deletion packages/postgresql/dataset/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: PostgreSQL application logs
release: beta
type: logs
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/postgresql/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ config_templates:
title: PostgreSQL logs and metrics
description: Collect logs and metrics from PostgreSQL instances
inputs:
- type: logs
- type: logfile
title: Collect PostgreSQL logs
description: Collecting application logs from PostgreSQL instances
- type: postgresql/metrics
Expand Down
2 changes: 1 addition & 1 deletion packages/rabbitmq/dataset/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: RabbitMQ application logs
release: beta
type: logs
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/rabbitmq/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ config_templates:
title: RabbitMQ logs and metrics
description: Collect logs and metrics from RabbitMQ instances
inputs:
- type: logs
- type: logfile
title: Collect logs from RabbitMQ instances
description: Collecting application logs from RabbitMQ instances
- type: rabbitmq/metrics
Expand Down
2 changes: 1 addition & 1 deletion packages/redis/dataset/log/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: Redis application logs
type: logs
release: beta
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/redis/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ config_templates:
title: Redis logs and metrics
description: Collect logs and metrics from Redis instances
inputs:
- type: logs
- type: logfile
title: Collect Redis application logs
description: Collecting application logs from Redis instances
- type: redis
Expand Down
2 changes: 1 addition & 1 deletion packages/system/dataset/auth/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: System auth logs
release: experimental
type: logs
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/system/dataset/syslog/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ title: System syslog logs
release: experimental
type: logs
streams:
- input: logs
- input: logfile
vars:
- name: paths
type: text
Expand Down
2 changes: 1 addition & 1 deletion packages/system/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ config_templates:
title: System logs and metrics
description: Collect logs and metrics from System instances
inputs:
- type: logs
- type: logfile
title: Collect logs from System instances
description: Collecting System auth and syslog logs
- type: system/metrics
Expand Down

0 comments on commit ea120ca

Please sign in to comment.