code: private void createIndexesTemplates() {
          try {
              initIndexesTemplates();
              updateIndexesNames();
              Executors.newScheduledThreadPool(1).scheduleAtFixedRate(this::updateIndexesNames, 0, 1, TimeUnit.HOURS);
          } catch (Exception e) {
              logger.error(e.getMessage(), e);
          }
      }
docs: Initializes the indexes templates task_log, message and event, and mappings.