Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): Remove mentions of deprecated transforms from guides #17933

Merged
merged 1 commit into from
Jul 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,11 @@ the grok parser:
address = "0.0.0.0:9000"

[transforms.foo]
type = "grok_parser"
inputs = ["over_tcp"]
pattern = "%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:level} %{GREEDYDATA:message}"
type = "remap"
source = '''
. = parse_grok!(.message, s'%{TIMESTAMP_ISO8601:timestamp} %{LOGLEVEL:level} %{GREEDYDATA:message}')
'''
```

A common way to test this transform might be to temporarily change the source
Expand Down
9 changes: 4 additions & 5 deletions website/content/en/guides/level-up/managing-schemas.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,10 @@ type = "stdin"

[transforms.parse]
inputs = ["application"]
drop_field = true
drop_invalid = false
type = "json_parser"
type = "remap"
source = '''
. = parse_json!(.message)
'''

[transforms.not_gdpr]
type = "filter"
Expand Down Expand Up @@ -328,8 +329,6 @@ Where are you deploying Vector? Let us know, maybe we can help optimize it!

[docs.sinks.console]: /docs/reference/configuration/sinks/console/
[docs.sources]: /docs/reference/configuration/sources/
[docs.transforms.grok_parser]: /docs/reference/vrl/functions/#parse_grok
[docs.transforms.json_parser]: /docs/reference/vrl/functions/#parse_json
[docs.transforms.remap]: /docs/reference/configuration/transforms/remap/
[docs.enrichment_functions]: /docs/reference/vrl/functions/#enrichment-functions