Hello,
I wrote a pipeline to parse log files, I'm trying to create a computed field I have es.
- timerequest
- timeresponse
It is possible to create a new field latency
{
"set" : {
"field" : "latency",
"value" : "{{timeresponse - timerequest}}"
}
},
{
"convert" : {
"field" : "latency",
"type" : "float",
"on_failure" : [
{
"set" : {
"field" : "latency",
"value" : -1
}
}
]
}
}
I do not want to use Enrich pipeline, I need a simple difference between fields
Is it possible?
best regards