You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add use_logs_stream configuration option to enable sending data to the unified "logs" data stream
- Update tcp.yml.hbs and udp.yml.hbs templates to conditionally route to logs index
- Bump TCP version to 2.1.0 and UDP version to 2.3.0
- Follows the same pattern as filestream package
This feature allows users to send all ingested data to the "logs" data stream instead of custom datasets when the "Write to logs streams" option is enabled in output settings.
Note: System tests for logs-stream variants will fail due to a known elastic-package bug being fixed in elastic/elastic-package#3037. Policy tests pass, confirming the configuration is correct.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: packages/tcp/manifest.yml
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ name: tcp
3
3
title: Custom TCP Logs
4
4
description: Collect raw TCP data from listening TCP port with Elastic Agent.
5
5
type: input
6
-
version: "2.0.1"
6
+
version: "2.1.0"
7
7
conditions:
8
8
kibana:
9
9
version: "^8.13.0 || ^9.0.0"
@@ -34,6 +34,14 @@ policy_templates:
34
34
required: true
35
35
show_user: true
36
36
default: 8080
37
+
- name: use_logs_stream
38
+
type: bool
39
+
title: Use the "logs" data stream
40
+
description: |
41
+
Enabling this will send all the ingested data to the "logs" data stream. This feature is disabled by default. If enabled the Dataset name option is ignored. "Write to logs streams" option must be enabled in the output settings for this to work.
Copy file name to clipboardExpand all lines: packages/udp/manifest.yml
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ name: udp
3
3
title: Custom UDP Logs
4
4
description: Collect raw UDP data from listening UDP port with Elastic Agent.
5
5
type: input
6
-
version: "2.2.1"
6
+
version: "2.3.0"
7
7
conditions:
8
8
kibana:
9
9
version: "^8.13.0 || ^9.0.0"
@@ -36,6 +36,14 @@ policy_templates:
36
36
required: true
37
37
show_user: true
38
38
default: 8080
39
+
- name: use_logs_stream
40
+
type: bool
41
+
title: Use the "logs" data stream
42
+
description: |
43
+
Enabling this will send all the ingested data to the "logs" data stream. This feature is disabled by default. If enabled the Dataset name option is ignored. "Write to logs streams" option must be enabled in the output settings for this to work.
0 commit comments