diff --git a/packages/linux/changelog.yml b/packages/linux/changelog.yml index 57b2e2a9dce..66b30df75c0 100644 --- a/packages/linux/changelog.yml +++ b/packages/linux/changelog.yml @@ -1,4 +1,9 @@ # newer versions go on top +- version: "0.6.10" + changes: + - description: Add processors capability to Linux Metrics. + type: enhancement + link: https://github.com/elastic/integrations/pull/10314 - version: "0.6.9" changes: - description: Fix list type for filters @@ -8,7 +13,7 @@ changes: - description: Fix typo in docs. type: enhancement - link: TBD + link: https://github.com/elastic/integrations/pull/3655 - version: "0.6.7" changes: - description: Update documentation with additional context for new users. diff --git a/packages/linux/data_stream/conntrack/agent/stream/stream.yml.hbs b/packages/linux/data_stream/conntrack/agent/stream/stream.yml.hbs index 505c888b43c..0b902be3412 100644 --- a/packages/linux/data_stream/conntrack/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/conntrack/agent/stream/stream.yml.hbs @@ -3,4 +3,8 @@ condition: ${host.platform} == 'linux' period: {{period}} {{#if system.hostfs}} hostfs: {{system.hostfs}} +{{/if}} +{{#if processors}} +processors: +{{processors}} {{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/conntrack/manifest.yml b/packages/linux/data_stream/conntrack/manifest.yml index 32345295487..e76153fc585 100644 --- a/packages/linux/data_stream/conntrack/manifest.yml +++ b/packages/linux/data_stream/conntrack/manifest.yml @@ -11,6 +11,14 @@ streams: required: true show_user: true default: 10s + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. enabled: false title: Linux host conntrack metrics description: Collect network metrics from /proc/net/nf_conntrack diff --git a/packages/linux/data_stream/entropy/agent/stream/stream.yml.hbs b/packages/linux/data_stream/entropy/agent/stream/stream.yml.hbs index 0459906e23e..d6c46f87014 100644 --- a/packages/linux/data_stream/entropy/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/entropy/agent/stream/stream.yml.hbs @@ -5,5 +5,8 @@ period: {{period}} hostfs: {{system.hostfs}} {{/if}} processors: - - drop_fields: - fields: event.module \ No newline at end of file +- drop_fields: + fields: event.module +{{#if processors}} +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/entropy/manifest.yml b/packages/linux/data_stream/entropy/manifest.yml index 4709fafb1b8..311a122c2ab 100644 --- a/packages/linux/data_stream/entropy/manifest.yml +++ b/packages/linux/data_stream/entropy/manifest.yml @@ -11,6 +11,14 @@ streams: required: true show_user: true default: 10s + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. enabled: false title: Linux host entropy metrics description: Collect Linux entropy metrics diff --git a/packages/linux/data_stream/iostat/agent/stream/stream.yml.hbs b/packages/linux/data_stream/iostat/agent/stream/stream.yml.hbs index a6b93e423cc..ccee648539e 100644 --- a/packages/linux/data_stream/iostat/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/iostat/agent/stream/stream.yml.hbs @@ -3,4 +3,8 @@ condition: ${host.platform} == 'linux' period: {{period}} {{#if system.hostfs}} hostfs: {{system.hostfs}} +{{/if}} +{{#if processors}} +processors: +{{processors}} {{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/iostat/manifest.yml b/packages/linux/data_stream/iostat/manifest.yml index 4f89721107b..6f305cf4a4b 100644 --- a/packages/linux/data_stream/iostat/manifest.yml +++ b/packages/linux/data_stream/iostat/manifest.yml @@ -11,5 +11,13 @@ streams: required: true show_user: true default: 10s + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. title: Linux iostat metrics description: Linux disk stat metrics diff --git a/packages/linux/data_stream/ksm/agent/stream/stream.yml.hbs b/packages/linux/data_stream/ksm/agent/stream/stream.yml.hbs index 5fc11ec4cb8..ee27eb04391 100644 --- a/packages/linux/data_stream/ksm/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/ksm/agent/stream/stream.yml.hbs @@ -3,4 +3,8 @@ condition: ${host.platform} == 'linux' period: {{period}} {{#if system.hostfs}} hostfs: {{system.hostfs}} +{{/if}} +{{#if processors}} +processors: +{{processors}} {{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/ksm/manifest.yml b/packages/linux/data_stream/ksm/manifest.yml index 8ced17f0c8e..a28344170e4 100644 --- a/packages/linux/data_stream/ksm/manifest.yml +++ b/packages/linux/data_stream/ksm/manifest.yml @@ -11,6 +11,14 @@ streams: required: true show_user: true default: 10s + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. enabled: false title: Linux host KSM metrics description: Collect kernel samepage merging metrics diff --git a/packages/linux/data_stream/memory/agent/stream/stream.yml.hbs b/packages/linux/data_stream/memory/agent/stream/stream.yml.hbs index 4b07884f7d6..9f751f3da9b 100644 --- a/packages/linux/data_stream/memory/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/memory/agent/stream/stream.yml.hbs @@ -3,4 +3,8 @@ condition: ${host.platform} == 'linux' period: {{period}} {{#if system.hostfs}} hostfs: {{system.hostfs}} +{{/if}} +{{#if processors}} +processors: +{{processors}} {{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/memory/manifest.yml b/packages/linux/data_stream/memory/manifest.yml index 70620b20272..18d6be3042b 100644 --- a/packages/linux/data_stream/memory/manifest.yml +++ b/packages/linux/data_stream/memory/manifest.yml @@ -11,5 +11,13 @@ streams: required: true show_user: true default: 10s + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. title: Linux memory metrics description: Linux paging and memory management metrics diff --git a/packages/linux/data_stream/network_summary/agent/stream/stream.yml.hbs b/packages/linux/data_stream/network_summary/agent/stream/stream.yml.hbs index 7d3d3661a1e..4095254a8dc 100644 --- a/packages/linux/data_stream/network_summary/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/network_summary/agent/stream/stream.yml.hbs @@ -2,5 +2,8 @@ metricsets: ["network_summary"] condition: ${host.platform} == 'linux' period: {{period}} processors: - - drop_fields: - fields: event.module \ No newline at end of file +- drop_fields: + fields: event.module +{{#if processors}} +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/network_summary/manifest.yml b/packages/linux/data_stream/network_summary/manifest.yml index 6c1283f5a86..f6677a69259 100644 --- a/packages/linux/data_stream/network_summary/manifest.yml +++ b/packages/linux/data_stream/network_summary/manifest.yml @@ -11,5 +11,13 @@ streams: required: true show_user: true default: 10s + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. title: Linux host network summary metrics description: Collect Linux network_summary metrics diff --git a/packages/linux/data_stream/pageinfo/agent/stream/stream.yml.hbs b/packages/linux/data_stream/pageinfo/agent/stream/stream.yml.hbs index c64508c85ce..11263190494 100644 --- a/packages/linux/data_stream/pageinfo/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/pageinfo/agent/stream/stream.yml.hbs @@ -3,4 +3,8 @@ condition: ${host.platform} == 'linux' period: {{period}} {{#if system.hostfs}} hostfs: {{system.hostfs}} +{{/if}} +{{#if processors}} +processors: +{{processors}} {{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/pageinfo/manifest.yml b/packages/linux/data_stream/pageinfo/manifest.yml index 984f2edb7b0..e130c0c0778 100644 --- a/packages/linux/data_stream/pageinfo/manifest.yml +++ b/packages/linux/data_stream/pageinfo/manifest.yml @@ -11,6 +11,14 @@ streams: required: true show_user: true default: 10s + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. enabled: false title: Linux host pageinfo metrics description: Collect paging statistics as found in /proc/pagetypeinfo diff --git a/packages/linux/data_stream/raid/agent/stream/stream.yml.hbs b/packages/linux/data_stream/raid/agent/stream/stream.yml.hbs index 6a98edd6d96..9f4685368ba 100644 --- a/packages/linux/data_stream/raid/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/raid/agent/stream/stream.yml.hbs @@ -8,5 +8,8 @@ period: {{period}} hostfs: {{system.hostfs}} {{/if}} processors: - - drop_fields: - fields: event.module \ No newline at end of file +- drop_fields: + fields: event.module +{{#if processors}} +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/raid/manifest.yml b/packages/linux/data_stream/raid/manifest.yml index 6ca396057f5..5a62aba9a5e 100644 --- a/packages/linux/data_stream/raid/manifest.yml +++ b/packages/linux/data_stream/raid/manifest.yml @@ -19,7 +19,14 @@ streams: show_user: true description: > Specifty a RAID mount location. By default, Any available RAID mounts will be selected. - + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. enabled: false title: Linux host raid metrics description: Collect Linux raid metrics diff --git a/packages/linux/data_stream/service/agent/stream/stream.yml.hbs b/packages/linux/data_stream/service/agent/stream/stream.yml.hbs index 7abc2373f3a..39438466600 100644 --- a/packages/linux/data_stream/service/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/service/agent/stream/stream.yml.hbs @@ -20,5 +20,8 @@ period: {{period}} hostfs: {{system.hostfs}} {{/if}} processors: - - drop_fields: - fields: event.module \ No newline at end of file +{{#if processors}} +- drop_fields: + fields: event.module +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/service/manifest.yml b/packages/linux/data_stream/service/manifest.yml index e4c50a8775b..42e4e0e558b 100644 --- a/packages/linux/data_stream/service/manifest.yml +++ b/packages/linux/data_stream/service/manifest.yml @@ -31,6 +31,13 @@ streams: show_user: true description: > Filter systemd services based on a name pattern - + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. title: Linux host service metrics description: Collect Linux service metrics diff --git a/packages/linux/data_stream/socket/agent/stream/stream.yml.hbs b/packages/linux/data_stream/socket/agent/stream/stream.yml.hbs index 7234f5e7b55..6b7b408b984 100644 --- a/packages/linux/data_stream/socket/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/socket/agent/stream/stream.yml.hbs @@ -14,5 +14,8 @@ period: {{period}} hostfs: {{system.hostfs}} {{/if}} processors: - - drop_fields: - fields: event.module \ No newline at end of file +- drop_fields: + fields: event.module +{{#if processors}} +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/socket/manifest.yml b/packages/linux/data_stream/socket/manifest.yml index 122db6ce498..2f17a0f9a07 100644 --- a/packages/linux/data_stream/socket/manifest.yml +++ b/packages/linux/data_stream/socket/manifest.yml @@ -34,5 +34,13 @@ streams: required: false show_user: true description: "Failure TTL for reverse DNS lookup on remote IP addresses in the socket dataset (sample: 10s)" + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. title: Linux host socket metrics description: Collect Linux socket metrics diff --git a/packages/linux/data_stream/users/agent/stream/stream.yml.hbs b/packages/linux/data_stream/users/agent/stream/stream.yml.hbs index cc8646373fd..91755c5ccbd 100644 --- a/packages/linux/data_stream/users/agent/stream/stream.yml.hbs +++ b/packages/linux/data_stream/users/agent/stream/stream.yml.hbs @@ -5,5 +5,8 @@ period: {{period}} hostfs: {{system.hostfs}} {{/if}} processors: - - drop_fields: - fields: event.module \ No newline at end of file +- drop_fields: + fields: event.module +{{#if processors}} +{{processors}} +{{/if}} \ No newline at end of file diff --git a/packages/linux/data_stream/users/manifest.yml b/packages/linux/data_stream/users/manifest.yml index 44195d5a830..97ee41f5bec 100644 --- a/packages/linux/data_stream/users/manifest.yml +++ b/packages/linux/data_stream/users/manifest.yml @@ -11,6 +11,14 @@ streams: required: true show_user: true default: 10s + - name: processors + type: yaml + title: Processors + multi: false + required: false + show_user: false + description: > + Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the metrics are parsed. See [Processors](https://www.elastic.co/guide/en/fleet/current/elastic-agent-processor-configuration.html) for details. enabled: false title: Linux host user metrics description: Collect Linux users metrics diff --git a/packages/linux/manifest.yml b/packages/linux/manifest.yml index b9fa6ec1ecd..5f020d44c00 100644 --- a/packages/linux/manifest.yml +++ b/packages/linux/manifest.yml @@ -1,7 +1,7 @@ format_version: 1.0.0 name: linux title: Linux Metrics -version: 0.6.9 +version: 0.6.10 license: basic description: Collect metrics from Linux servers with Elastic Agent. type: integration