I am using http as my source and as a first operation in filter, renaming the incoming columns as shown below for a column
mutate{
add_field => {"AccID" => "%{variable}"}
}
when i insert this into target,
i see column value to be inserted as "%{variable}" itself for rows with no value for AccID.
also in certain cases, response doesnt return certain columns based on the http URL defined and we get an error pointing to invalid number as it inserts the above variable into number column in database .
how can this be handled as we need to make sure to insert this as null in case the above scenarios occur