Skip to content

Commit

Permalink
fix: revert #800, add http vector filter (#821)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
MasterPtato committed Jun 1, 2024
1 parent 5436461 commit b154bb6
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 26 deletions.
2 changes: 1 addition & 1 deletion docs/libraries/bolt/1PASSWORD_INTEGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ Finally, you have two options for pushing your local config to 1password:

## Pulling

To pull your config from 1password, run `bolt config pull`, or `bolt config pull <namespace>` for a specific namespace.
To pull your config from 1password run `bolt config pull`, or `bolt config pull <namespace>` for a specific namespace.
15 changes: 12 additions & 3 deletions infra/tf/vector/vector.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,15 @@ resource "helm_release" "vector" {
source = ".source == \"job_run\""
}
}

opengb_worker = {
type = "filter"
inputs = ["http_json"]
condition = {
type = "vrl"
source = ".path == \"/opengb\""
}
}
}
sinks = {
prom_exporter = {
Expand Down Expand Up @@ -108,13 +117,13 @@ resource "helm_release" "vector" {
}
}

clickhouse_cf_logs = {
clickhouse_opengb_logs = {
type = "clickhouse"
inputs = ["http_json"]
inputs = ["opengb_worker"]
compression = "gzip"
database = "db_cf_log"
endpoint = "https://${var.clickhouse_host}:${var.clickhouse_port_https}"
table = "cf_tail_events"
table = "tail_events"
auth = {
strategy = "basic"
user = "vector"
Expand Down
7 changes: 0 additions & 7 deletions svc/pkg/cf/db/log/Service.toml

This file was deleted.

Empty file.
15 changes: 0 additions & 15 deletions svc/pkg/cf/db/log/migrations/20240517214700_init.up.sql

This file was deleted.

0 comments on commit b154bb6

Please sign in to comment.