I am trying to creating a new field using mutate-> add_field filter for a key coming from json data. I need to convert that filed to a integer/number. i am using the below syntax
mutate
{
convert => {"timeTaken" => "integer"}
}
Possible values in this field are - numeric Ex: 60,37,90,100,23,0.
I am not getting any error while running the logstash script, but when i am trying to see that field in kibana the type it is showing as unknown(?).
I need this field to be numeric to implement some bar charts.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.