Skip to content

Commit f3e4b51

Browse files
committed
Add OS support to transforms on website
Signed-off-by: Ana Hobden <operator@hoverbear.org>
1 parent 850671d commit f3e4b51

27 files changed

Lines changed: 79 additions & 28 deletions

scripts/generate/templates/_partials/_component_header.md.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ description: <%= "The Vector `#{component.name}` #{component.type} #{component_s
77
event_types: <%= component.event_types.to_json %>
88
function_category: <%= component.function_category.to_json %>
99
issues_url: <%= metadata.links.fetch("urls.#{component.id}_issues") %>
10-
<%- if !component.transform? -%>
10+
<%- if !component.transform? || component.respond_to?(:operating_systems) -%>
1111
operating_systems: <%= component.operating_systems.to_json %>
1212
<%- end -%>
1313
<%- if component.posts.any? -%>
@@ -17,7 +17,7 @@ sidebar_label: <%= "#{component.name}|#{component.event_types.to_json}".to_json
1717
source_url: <%= metadata.links.fetch("urls.#{component.id}_source") %>
1818
status: <%= component.status.to_json %>
1919
title: <%= "#{component.title} #{component.type.titleize}".to_json %>
20-
<%- if !component.transform? -%>
20+
<%- if !component.transform? || component.respond_to?(:operating_systems) -%>
2121
unsupported_operating_systems: <%= component.unsupported_operating_systems.to_json %>
2222
<%- end -%>
2323
---

website/docs/reference/transforms/add_fields.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-01"
2+
last_modified_on: "2020-06-10"
33
component_title: "Add Fields"
44
description: "The Vector `add_fields` transform accepts and outputs `log` events, allowing you to add one or more log fields."
55
event_types: ["log"]
66
function_category: "schema"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+add_fields%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "add_fields|[\"log\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/add_fields.rs
1011
status: "prod-ready"
1112
title: "Add Fields Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Fields from '@site/src/components/Fields';

website/docs/reference/transforms/add_tags.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-01"
2+
last_modified_on: "2020-06-10"
33
component_title: "Add Tags"
44
description: "The Vector `add_tags` transform accepts and outputs `metric` events, allowing you to add one or more metric tags."
55
event_types: ["metric"]
66
function_category: "schema"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+add_tags%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "add_tags|[\"metric\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/add_tags.rs
1011
status: "prod-ready"
1112
title: "Add Tags Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Fields from '@site/src/components/Fields';

website/docs/reference/transforms/ansi_stripper.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-01"
2+
last_modified_on: "2020-06-10"
33
component_title: "ANSI Stripper"
44
description: "The Vector `ansi_stripper` transform accepts and outputs `log` events, allowing you to strips ANSI escape sequences from the specified field."
55
event_types: ["log"]
66
function_category: "sanitize"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+ansi_stripper%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "ansi_stripper|[\"log\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/ansi_stripper.rs
1011
status: "prod-ready"
1112
title: "ANSI Stripper Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Fields from '@site/src/components/Fields';

website/docs/reference/transforms/aws_ec2_metadata.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-21"
2+
last_modified_on: "2020-06-10"
33
component_title: "AWS EC2 Metadata"
44
description: "The Vector `aws_ec2_metadata` transform accepts and outputs `log` events, allowing you to enrich logs with AWS EC2 instance metadata."
55
event_types: ["log"]
66
function_category: "enrich"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+aws_ec2_metadata%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "aws_ec2_metadata|[\"log\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/aws_ec2_metadata.rs
1011
status: "beta"
1112
title: "AWS EC2 Metadata Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Alert from '@site/src/components/Alert';

website/docs/reference/transforms/coercer.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-01"
2+
last_modified_on: "2020-06-10"
33
component_title: "Coercer"
44
description: "The Vector `coercer` transform accepts and outputs `log` events, allowing you to coerce log fields into fixed types."
55
event_types: ["log"]
66
function_category: "schema"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+coercer%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "coercer|[\"log\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/coercer.rs
1011
status: "prod-ready"
1112
title: "Coercer Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Fields from '@site/src/components/Fields';

website/docs/reference/transforms/concat.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-01"
2+
last_modified_on: "2020-06-10"
33
component_title: "Concat"
44
description: "The Vector `concat` transform accepts and outputs `log` events, allowing you to concat (substrings) of other fields to a new one."
55
event_types: ["log"]
66
function_category: "schema"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+concat%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "concat|[\"log\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/concat.rs
1011
status: "beta"
1112
title: "Concat Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Fields from '@site/src/components/Fields';

website/docs/reference/transforms/dedupe.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-21"
2+
last_modified_on: "2020-06-10"
33
component_title: "Dedupe events"
44
description: "The Vector `dedupe` transform accepts and outputs `log` events, allowing you to prevent duplicate Events from being outputted by using an LRU cache."
55
event_types: ["log"]
66
function_category: "filter"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+dedupe%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "dedupe|[\"log\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/dedupe.rs
1011
status: "prod-ready"
1112
title: "Dedupe events Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Fields from '@site/src/components/Fields';

website/docs/reference/transforms/filter.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-04"
2+
last_modified_on: "2020-06-10"
33
component_title: "Filter"
44
description: "The Vector `filter` transform accepts and outputs `log` and `metric` events, allowing you to select events based on a set of logical conditions."
55
event_types: ["log","metric"]
66
function_category: "filter"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+filter%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "filter|[\"log\",\"metric\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/filter.rs
1011
status: "beta"
1112
title: "Filter Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Fields from '@site/src/components/Fields';

website/docs/reference/transforms/geoip.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
---
2-
last_modified_on: "2020-05-01"
2+
last_modified_on: "2020-06-10"
33
component_title: "GeoIP"
44
description: "The Vector [`geoip`](#geoip) transform accepts and outputs `log` events, allowing you to enrich events with geolocation data from the MaxMind GeoIP2 and GeoLite2 city databases."
55
event_types: ["log"]
66
function_category: "enrich"
77
issues_url: https://github.com/timberio/vector/issues?q=is%3Aopen+is%3Aissue+label%3A%22transform%3A+geoip%22
8+
operating_systems: ["Linux","MacOS","Windows"]
89
sidebar_label: "geoip|[\"log\"]"
910
source_url: https://github.com/timberio/vector/tree/master/src/transforms/geoip.rs
1011
status: "beta"
1112
title: "GeoIP Transform"
13+
unsupported_operating_systems: []
1214
---
1315

1416
import Fields from '@site/src/components/Fields';

0 commit comments

Comments
 (0)