Coverting miliseconds into HH:mm:ss in logstash

You could do that with a scripted field in kibana (see here and here for examples).

In logstash you could do it using a ruby filter. See here and here for code examples.