Skip to content

Commit d113743

Browse files
authored
Remove hard-coded dataset value (#15653)
Otherwise, it overrides the configured value. Add a test for the change.
1 parent b483955 commit d113743

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
service: filestream-logfile
2+
input: filestream
3+
vars:
4+
data_stream.dataset: elastic_agent.test
5+
paths:
6+
- "{{SERVICE_LOGS_DIR}}/test-filestream.log"
7+
assert:
8+
hit_count: 201

packages/filestream/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "2.0.1"
3+
changes:
4+
- description: Remove hard-coded dataset field
5+
type: bugfix
6+
link: https://github.com/elastic/integrations/pull/15653
27
- version: "2.0.0"
38
changes:
49
- description: Migrate to input package type

packages/filestream/fields/base-fields.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
- name: event.dataset
1515
type: constant_keyword
1616
description: Event dataset
17-
value: filestream.generic
1817
- name: "@timestamp"
1918
type: date
2019
description: Event timestamp.

packages/filestream/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: filestream
33
title: Custom Logs (Filestream)
44
description: Collect log data using filestream with Elastic Agent.
55
type: input
6-
version: 2.0.0
6+
version: 2.0.1
77
conditions:
88
kibana:
99
version: "^9.2.0"

0 commit comments

Comments
 (0)