diff --git a/website/cue/reference/remap/syntax/expressions.cue b/website/cue/reference/remap/syntax/expressions.cue new file mode 100644 index 0000000000000..66de53b92496d --- /dev/null +++ b/website/cue/reference/remap/syntax/expressions.cue @@ -0,0 +1,22 @@ +package metadata + +remap: syntax: expressions: { + title: "Expressions" + description: """ + VRL programs are made up of literal and dynamic expressions, described more in detail below. Expressions can be separated by newline or semicolon in any combination. + """ + + examples: [ + """ + # newline delimited expressions + del(.user_info) + .timestamp = now() + .message = "hello world" + """, + """ + # semicolon delimited expressions + del(.user_info); .timestamp = now() + .message = "hello world" + """, + ] +}