forked from databricks/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(packaging): Revert recent packaging and service changes (vectordo…
…tdev#13997) * Revert "enhancement(apt platform,debian platform,dpkg platform,centos platform,rhel platform,rpm platform,yum platform): Improve packaging and service best practices (vectordotdev#13456)" This reverts commit 98f8ccc. * Revert "enhancement(docker platform): Dockerfile updates and improvements (vectordotdev#13483)" This reverts commit fee0950.
- Loading branch information
Showing
21 changed files
with
334 additions
and
430 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
data_dir: /vector-data-dir | ||
api: | ||
enabled: true | ||
address: "[::]:8686" | ||
playground: false | ||
sources: | ||
kubernetes_logs: | ||
type: kubernetes_logs | ||
host_metrics: | ||
filesystem: | ||
devices: | ||
excludes: [binfmt_misc] | ||
filesystems: | ||
excludes: [binfmt_misc] | ||
mountPoints: | ||
excludes: ["*/proc/sys/fs/binfmt_misc"] | ||
type: host_metrics | ||
internal_metrics: | ||
type: internal_metrics | ||
sinks: | ||
prom_exporter: | ||
type: prometheus_exporter | ||
inputs: | ||
- host_metrics | ||
- internal_metrics | ||
address: "[::]:9090" | ||
blackhole: | ||
type: blackhole | ||
inputs: | ||
- kubernetes_logs | ||
print_interval_secs: 10 | ||
acknowledgements: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
data_dir: /vector-data-dir | ||
api: | ||
enabled: true | ||
address: "[::]:8686" | ||
playground: false | ||
sources: | ||
datadog_agent: | ||
address: "[::1]:8282" | ||
type: datadog_agent | ||
file: | ||
include: | ||
- "/var/log/**/*.log" | ||
type: file | ||
ignore_checkpoints: true | ||
host_metrics: | ||
filesystem: | ||
devices: | ||
excludes: [binfmt_misc] | ||
filesystems: | ||
excludes: [binfmt_misc] | ||
mountPoints: | ||
excludes: ["*/proc/sys/fs/binfmt_misc"] | ||
type: host_metrics | ||
internal_metrics: | ||
type: internal_metrics | ||
logstash: | ||
address: "[::1]:5044" | ||
type: logstash | ||
sinks: | ||
prom_exporter: | ||
type: prometheus_exporter | ||
inputs: | ||
- host_metrics | ||
- internal_metrics | ||
address: "[::]:9090" | ||
blackhole: | ||
type: blackhole | ||
inputs: | ||
- datadog_agent | ||
- file | ||
- logstash | ||
print_interval_secs: 10 | ||
acknowledgements: | ||
enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
data_dir: /vector-data-dir | ||
api: | ||
enabled: true | ||
address: "[::]:8686" | ||
playground: false | ||
sources: | ||
datadog_agent: | ||
address: "[::]:8282" | ||
type: datadog_agent | ||
fluent: | ||
address: "[::]:24224" | ||
type: fluent | ||
internal_metrics: | ||
type: internal_metrics | ||
logstash: | ||
address: "[::]:5044" | ||
type: logstash | ||
splunk_hec: | ||
address: "[::]:8080" | ||
type: splunk_hec | ||
statsd: | ||
address: "[::]:8125" | ||
mode: tcp | ||
type: statsd | ||
syslog: | ||
address: "[::]:9000" | ||
mode: tcp | ||
type: syslog | ||
vector: | ||
address: "[::]:6000" | ||
type: vector | ||
version: "2" | ||
sinks: | ||
prom_exporter: | ||
type: prometheus_exporter | ||
inputs: | ||
- internal_metrics | ||
address: "[::]:9090" | ||
blackhole: | ||
type: blackhole | ||
inputs: | ||
- datadog_agent | ||
- fluent | ||
- logstash | ||
- splunk_hec | ||
- statsd | ||
- syslog | ||
- vector | ||
print_interval_secs: 10 | ||
acknowledgements: | ||
enabled: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# __ __ __ | ||
# \ \ / / / / | ||
# \ V / / / | ||
# \_/ \/ | ||
# | ||
# V E C T O R | ||
# Configuration | ||
# | ||
# ------------------------------------------------------------------------------ | ||
# Website: https://vector.dev | ||
# Docs: https://vector.dev/docs | ||
# Chat: https://chat.vector.dev | ||
# ------------------------------------------------------------------------------ | ||
|
||
# Change this to use a non-default directory for Vector data storage: | ||
# data_dir = "/var/lib/vector" | ||
|
||
# Random Syslog-formatted logs | ||
[sources.dummy_logs] | ||
type = "demo_logs" | ||
format = "syslog" | ||
interval = 1 | ||
|
||
# Parse Syslog logs | ||
# See the Vector Remap Language reference for more info: https://vrl.dev | ||
[transforms.parse_logs] | ||
type = "remap" | ||
inputs = ["dummy_logs"] | ||
source = ''' | ||
. = parse_syslog!(string!(.message)) | ||
''' | ||
|
||
# Print parsed logs to stdout | ||
[sinks.print] | ||
type = "console" | ||
inputs = ["parse_logs"] | ||
encoding.codec = "json" | ||
|
||
# Vector's GraphQL API (disabled by default) | ||
# Uncomment to try it out with the `vector top` command or | ||
# in your browser at http://localhost:8686 | ||
#[api] | ||
#enabled = true | ||
#address = "127.0.0.1:8686" |
Oops, something went wrong.