TransformItems
yaml
type: "io.kestra.plugin.transform.grok.transformitems"
Examples
yaml
id: grok_transform_items
namespace: company.team
tasks:
- id: transform_items
type: io.kestra.plugin.transform.grok.TransformItems
pattern: "%{TIMESTAMP_ISO8601:logdate} %{LOGLEVEL:loglevel} %{GREEDYDATA:message}"
from: "{{ trigger.uri }}"
triggers:
- id: trigger
type: io.kestra.plugin.kafka.Trigger
topic: test_kestra
properties:
bootstrap.servers: localhost:9092
serdeProperties:
schema.registry.url: http://localhost:8085
keyDeserializer: STRING
valueDeserializer: STRING
groupId: kafkaConsumerGroupId
interval: PT30S
maxRecords: 5
Properties
from *Requiredstring
breakOnFirstMatch booleanstring
Default
true
keepEmptyCaptures booleanstring
Default
false
namedCapturesOnly booleanstring
Default
true
pattern string
patternDefinitions object
SubType string
patterns array
SubType string
patternsDir array
SubType string