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

Add dev-logging stack to enable scraping logs in structured form with lnav #163

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
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
25 changes: 25 additions & 0 deletions stacks/_templates/vector-aggregator-console.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
releaseName: vector-aggregator
name: vector
repo:
name: vector
url: https://helm.vector.dev
version: 0.34.0
options:
commonLabels:
stackable.tech/vendor: Stackable
podLabels: # Doesn't seem to work?
stackable.tech/vendor: Stackable
role: Aggregator
customConfig:
sources:
vector:
address: 0.0.0.0:6000
type: vector
version: "2"
sinks:
console:
type: console
encoding:
codec: json
inputs:
- vector
10 changes: 10 additions & 0 deletions stacks/stacks-v2.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
---
stacks:
dev-logging:
description: Vector aggregator with console output to allow scraping logs with lnav
stackableRelease: dev
stackableOperators:
labels:
- logging
- vector
manifests:
- helmChart: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/_templates/vector-aggregator-console.yaml
- plainYaml: https://raw.githubusercontent.com/stackabletech/demos/main/stacks/_templates/vector-aggregator-discovery.yaml
monitoring:
description: Stack containing Prometheus and Grafana
stackableRelease: dev
Expand Down