-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(config, docs): Replace 'vector.toml' with 'vector.yaml' (#18388)
* chore(config, docs): Replace 'vector.toml' with 'vector.yaml' * keep both vector.toml and vector.yaml * remove vector.toml from asserts, still attempt to load it first and finally fallback to vector.yaml * update conf-files and docs as well * clippy fixes * Update src/cli.rs Co-authored-by: Jesse Szwedko <jesse.szwedko@datadoghq.com> * Update src/config/cmd.rs Co-authored-by: Jesse Szwedko <jesse.szwedko@datadoghq.com> * address Jesse's review points * add 'pront' to dictionary * small fixes * remove conf-files --------- Co-authored-by: Jesse Szwedko <jesse.szwedko@datadoghq.com>
- Loading branch information
Showing
26 changed files
with
143 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# __ __ __ | ||
# \ \ / / / / | ||
# \ 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" |
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
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
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
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
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
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
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
26 changes: 26 additions & 0 deletions
26
website/content/en/highlights/2023-09-06-0-33-0-upgrade-guide.md
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,26 @@ | ||
--- | ||
date: "2023-09-06" | ||
title: "0.33 Upgrade Guide" | ||
description: "An upgrade guide that addresses breaking changes in 0.33.0" | ||
authors: ["pront"] | ||
release: "0.33.0" | ||
hide_on_release_notes: false | ||
badges: | ||
type: breaking change | ||
--- | ||
|
||
Vector's 0.33.0 release includes **deprecations**: | ||
|
||
1. [Default config location change](#default-config-location-change) | ||
|
||
We cover them below to help you upgrade quickly: | ||
|
||
## Upgrade guide | ||
|
||
### Deprecations | ||
|
||
#### Default config location change {#default-config-location-change} | ||
|
||
The default config location `/etc/vector/vector.toml` which is used by Vector `0.32.0` is now deprecated. This location will still be used in `0.33.0`. The new default path is `/etc/vector/vector.yaml`, please migrate to this new default path or specify the config path explicitly. | ||
|
||
Vector `0.33.0` will attempt to load `/etc/vector/vector.toml` first, and if it is not present, it will fallback to `/etc/vector/vector.yaml`. However, Vector release `0.34.0` will automatically load `/etc/vector/vector.yaml` only. |
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
Oops, something went wrong.