I posted a similar question to the elasticsearch forum since it appeared to be more of an intrinsic ES problem. But I am not sure.
I have the following filebeat yaml.
Basically I am attempting to split based on \t (tab) then assign the array output via set.
Just testing the first field right now. But it ends up in ES as an empty "" value.
Is this possible? How do I reference the elements of the array after 'message' is passed to the split processor?
Thanks
{
"description": "OpenAM Authentication Access Logging",
"processors": [{
"set" : {
"field": "type",
"value": "amAuthentication.access_pipeline"
},
"split": {
"field": "message",
"separator": "\t"
},
"set": {
"field": "openam.data",
"value": "{{message[1]}}"
}
}
],
"on_failure": [
{
"set": {
"field": "error",
"value": "{{ _ingest.on_failure_message }}"
}
}
]
}