I am trying to run a data-prepper image but I get an error saying:" Encountered exception while instantiating the plugin GrokProcessor", I suspect my pattern isn’t correctly formatted even though I tested it via Test grok patterns I am using the following pipeline.yaml (that I mount with “-v ${PWD}/pipeline.yaml:/usr/share/data-prepper/pipelines/pipelines.yaml”):
log-pipeline:
source:
http:
ssl: false
processor:
- grok:
match:
message: [‘[%{TIMESTAMP_ISO8601:Time}] local.INFO: {“method”:“%{WORD:Method}”,“path”:“%{GREEDYDATA:Path}”,“ip”:“%{IP:IP}”,“origin”:“%{GREEDYDATA:Origin}”,“headers”:%{GREEDYDATA:Headers},“userId”:“%{NUMBER:UserID}”,“query”:%{GREEDYDATA:Query},“body”:%{GREEDYDATA:Body}}’]
sink:
- opensearch:
hosts: [ “https://localhost:9200” ]
insecure: true
username: ***
password: ***
index: inc_requests_logs
Any help would be greatly appreciated