Mapper_parsing_exception", "reason"=>"object mapping for [host] tried to parse field [host] as object, but found a concrete value"}}}}

Hi @ranjini It looks like you are connecting to OpenSearch not Elasticsearch so you should really go to their forums, you will not get much help here.

Also your logsstash is wrong you can see "host"=>"[host][name]", this in the error

replace is not correct you want to use rename

    mutate {
        rename => {"shortHostname" => "hostname"}
    }

And if you want to understand the error you can take a look at this