Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename logs to logfile #146

Merged
merged 3 commits into from
Jul 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -29,7 +29,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 @@ -32,6 +32,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 @@ -30,7 +30,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 @@ -14,7 +14,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.

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 @@ -25,7 +25,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 @@ -30,7 +30,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 @@ -30,7 +30,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 @@ -32,7 +32,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 @@ -20,7 +20,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 @@ -30,7 +30,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 @@ -29,7 +29,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