Class ElkController


  • @Controller
    @RequestMapping("/elk")
    public class ElkController
    extends Object
    • Constructor Detail

      • ElkController

        public ElkController()
    • Method Detail

      • createRepository

        @RequestMapping(value="/repository/create",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElkRepositoriesResponse> createRepository​(javax.servlet.http.HttpServletRequest request,
                                                                      @RequestBody
                                                                      JsonRequest<ElkRepositoriesRequest> requestJson,
                                                                      javax.servlet.http.HttpServletResponse response)
      • getAllRepositories

        @RequestMapping(value="/repository/all",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElkGetRepositoriesResponse> getAllRepositories​(javax.servlet.http.HttpServletRequest request,
                                                                           javax.servlet.http.HttpServletResponse response)
      • deleteRepository

        @RequestMapping(value="/repository/delete",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElkRepositoriesResponse> deleteRepository​(javax.servlet.http.HttpServletRequest request,
                                                                      @RequestBody
                                                                      JsonRequest<ElkRepositoriesRequest> requestJson,
                                                                      javax.servlet.http.HttpServletResponse response)
      • createSnapshots

        @RequestMapping(value="/snapshot/create",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElkSnapshotsResponse> createSnapshots​(javax.servlet.http.HttpServletRequest request,
                                                                  @RequestBody
                                                                  JsonRequest<ElkCreateSnapshotRequest> requestJson,
                                                                  javax.servlet.http.HttpServletResponse response)
      • getAllSnapshots

        @RequestMapping(value="/all/snapshot",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElkGetSnapshotsResponse> getAllSnapshots​(javax.servlet.http.HttpServletRequest request,
                                                                     javax.servlet.http.HttpServletResponse response)
      • deleteSnapshots

        @RequestMapping(value="/delete/snapshot",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElkSnapshotsResponse> deleteSnapshots​(javax.servlet.http.HttpServletRequest request,
                                                                  @RequestBody
                                                                  JsonRequest<ElkDeleteSnapshotRequest> requestJson,
                                                                  javax.servlet.http.HttpServletResponse response)
      • getIndices

        @RequestMapping(value="/indices/all",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElasticStackIndices> getIndices​(javax.servlet.http.HttpServletRequest request,
                                                            javax.servlet.http.HttpServletResponse response)
      • getArchive

        @RequestMapping(value="/all/archive",
                        method=GET,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElkArchiveResponse> getArchive​(javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response)
      • archiveAction

        @RequestMapping(value="/archive/action",
                        method=POST,
                        produces="application/json")
        @ResponseBody
        public JsonResponse<ElkArchiveResponse> archiveAction​(javax.servlet.http.HttpServletRequest request,
                                                              @RequestBody
                                                              JsonRequest<ElkArchive> requestJson,
                                                              javax.servlet.http.HttpServletResponse response)