is it possible to apply timezone option on the date process pipeline based on _source field?
I was trying something like:
{
"date": {
"field": "system.auth.timestamp",
"formats": [
"MMM d HH:mm:ss",
"MMM dd HH:mm:ss"
],
"timezone": "{{ _source.fields.timezone }}",
"ignore_failure": true,
"target_field": "@timestamp"
}
but elasticsearch reject my pipeline:{
"error": {
"root_cause": [
{
"type": "exception",
"reason": "java.lang.IllegalArgumentException: The datetime zone id '{{ _source.fields.timezone }}' is not recognised",
"header": {
"processor_type": "date"
}
}
],
"type": "exception",
"reason": "java.lang.IllegalArgumentException: The datetime zone id '{{ _source.fields.timezone }}' is not recognised",
"caused_by": {
"type": "illegal_argument_exception",
"reason": "The datetime zone id '{{ _source.fields.timezone }}' is not recognised"
},
"header": {
"processor_type": "date"
}
},
"status": 500
}
is there any way I can achieve this?