static ObjectNode getDashboardForElasticsearch(String dashboardPath) throws IOException {
final ObjectMapper mapper = JsonUtils.getMapper();
final InputStream dashboardStram = RestClient.class.getClassLoader().getResourceAsStream(dashboardPath);
final ObjectNode dashboard = (ObjectNode) mapper.readTree(dashboardStram);
dashboard.put(TITLE, dashboard.get(TITLE).asText() + STAGEMONITOR_MAJOR_MINOR_VERSION);
ObjectNode dashboardElasticsearchFormat = mapper.createObjectNode();
dashboardElasticsearchFormat.put("user", "guest");
dashboardElasticsearchFormat.put("group", "guest");
dashboardElasticsearchFormat.set(TITLE, dashboard.get(TITLE));
dashboardElasticsearchFormat.set("tags", dashboard.get("tags"));
dashboardElasticsearchFormat.put("dashboard", dashboard.toString());