router.get('/templates/index/:id', function (req, res) {
    restUtils.processResponse(kibana.getIndexTemplate(req.params.id, req.app.esClient), res);
});