Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (21 sloc) 394 Bytes
morphlines : [{
id : json_terminal_log
importCommands : ["org.kitesdk.**"]
commands : [
# read the JSON blob
{ readJson: {} }
# extract JSON objects into head fields
{ extractJsonPaths {
flatten: true
paths: {
name: /name
age: /age
}
} }
# log data
{ logInfo {
format : "name: {}, record: {}"
args : ["@{name}", "@{}"]
}}
]
}]
You can’t perform that action at this time.