Skip to content
Permalink
Browse files
Update to vector 0.15 syntax (#36)
Vector 0.15 had a breaking change that stopped our config working, so
rather than only noticing at run time, fail at build time
  • Loading branch information
ashb committed Jul 28, 2021
1 parent d0415a9 commit 418f0a0a572611e5d241db1c387ce2aa13735171
Showing 2 changed files with 5 additions and 3 deletions.
@@ -39,8 +39,11 @@ apt-get install -yq --no-install-recommends -o Dpkg::Options::="--force-confold"
python3-venv \
python3-wheel \
yarn \
vector
vector='0.15.*'


# Re-enabled in clout-init once AWS_DEFAULT_REGION env var is set
systemctl disable vector

# validate the vector config file we have already installed
sudo -u vector vector validate --no-environment
@@ -59,8 +59,7 @@ data_dir = "/var/lib/vector"
[transforms.filter-runner-logs]
type = "filter"
inputs = ['grok-runner-logs']
condition.type = "remap"
condition.source = '''
condition = '''
if .logger == "JobServerQueue" {
!match!(.message, r'Try to append \d+ batches web console lines for record')
} else if .logger == "HostContext" {

0 comments on commit 418f0a0

Please sign in to comment.