
TransformItems
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
breakOnFirstMatchbooleanstring
Default
truekeepEmptyCapturesbooleanstring
Default
falsenamedCapturesOnlybooleanstring
Default
truepatternstring
patternDefinitionsobject
SubTypestring
patternsarray
SubTypestring
patternsDirarray
SubTypestring