Skip to content

Commit f7dbc4f

Browse files
belimawrmergify[bot]
authored andcommitted
Use unique index for TestKubernetesJournaldInputOtel (#11316)
(cherry picked from commit efafc2a)
1 parent e2cf65f commit f7dbc4f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

testing/integration/k8s/journald_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ func TestKubernetesJournaldInputOtel(t *testing.T) {
186186
info.ESClient,
187187
kCtx,
188188
steps,
189-
fmt.Sprintf("logs-generic.otel-%s", namespace),
190-
"body.structured.input.type",
189+
namespace,
190+
"Body.input.type",
191191
"journald")
192192
}
193193

testing/integration/k8s/testdata/journald-otel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,11 @@ processors:
2424

2525
exporters:
2626
elasticsearch:
27+
logs_index: "${EA_POLICY_NAMESPACE}"
2728
endpoint: "${ES_HOST}"
2829
api_key: "${ES_API_KEY_ENCODED}"
30+
mapping:
31+
mode: none
2932

3033
service:
3134
pipelines:

0 commit comments

Comments
 (0)