Skip to content

Commit

Permalink
true up local test config
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirianni committed Jul 17, 2024
1 parent 9c50a00 commit 3feabb7
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions test/local/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ resource "bindplane_destination" "custom" {
{
"name": "telemetry_types",
"value": [
"Metrics",
"Logs",
"Traces"
]
},
{
Expand All @@ -69,6 +67,12 @@ resource "bindplane_processor" "add_fields" {
type = "add_fields"
parameters_json = jsonencode(
[
{
"name": "telemetry_types",
"value": [
"Logs",
]
},
{
"name": "enable_logs"
"value": true
Expand Down Expand Up @@ -140,12 +144,10 @@ resource "bindplane_processor" "json-parse-body" {
parameters_json = jsonencode(
[
{
"name": "enable_logs",
"value": true
},
{
"name": "log_condition",
"value": "true"
"name": "telemetry_types",
"value": [
"Logs",
]
},
{
"name": "log_source_field_type",
Expand All @@ -170,8 +172,10 @@ resource "bindplane_processor" "promoted-cleanup" {
parameters_json = jsonencode(
[
{
"name": "enable_logs",
"value": true
"name": "telemetry_types",
"value": [
"Logs",
]
},
{
"name": "log_body_keys",
Expand All @@ -190,12 +194,10 @@ resource "bindplane_processor" "time-parse-http-datatime" {
parameters_json = jsonencode(
[
{
"name": "enable_logs",
"value": true
},
{
"name": "log_condition",
"value": "body[\"datetime\"] != nil"
"name": "telemetry_types",
"value": [
"Logs",
]
},
{
"name": "log_field_type",
Expand Down

0 comments on commit 3feabb7

Please sign in to comment.