We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5f94a1 commit 58e4394Copy full SHA for 58e4394
vector.yaml
@@ -28,6 +28,10 @@ transforms:
28
source: |
29
.message = parse_json(.message) ?? .message
30
31
+ if is_object(.message) && (is_null(.message.message) || .message.message == "") {
32
+ .message.message = "access"
33
+ }
34
+
35
# Print parsed logs to stdout
36
sinks:
37
# print:
@@ -55,8 +59,9 @@ sinks:
55
59
AccountID: "0"
56
60
ProjectID: "0"
57
61
VL-Stream-Fields: container_name
58
- VL-Msg-Field: message.RequestPath
62
+ VL-Msg-Field: message.message
63
VL-Time-Field: timestamp
64
+ VL-Extra-Fields: cluster=pc-proxy
65
# Vector's GraphQL API (disabled by default)
66
# Uncomment to try it out with the `vector top` command or
67
# in your browser at http://localhost:8686
0 commit comments