Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-1283

Install Elasticsearch template as a part of the mpack startup scripts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Major
    • Resolution: Done
    • None
    • 0.4.2
    • None

    Description

      For a Metron multi-node deployment using mpack, the Elasticsearch template is required to be installed manually post-setup. These templates are required for the proper working of, for e.g. the Alerts UI.

      In the event that these templates are not installed, and if data is ingested, these would not be shown in the Alerts UI, since there would be missing fields without the template files (E.g. snort alert indices are not displayed in the Alerts UI, since it is missing the "alerts" field from the mapping). In such a case, one needs to install the templates, delete all indices for the given parser and re-ingest data again into the parser for it to appear in the Alerts UI.

      Further, the indices from all the parsers will have to be deleted and re-ingested again which could be a tedious job in the event that this step was missed out by chance. I have also seen other ill-effects from having stale indices for parsers that was created before template install.

      While documenting the template installation is a good practice, nothing would more failsafe than installing the template as a part of the mpack startup scripts itself.

      Note that this issue would not be seen on vagrant deployments, since the 'load_web_templates' role would trigger the installation automatically.

      Attachments

        Issue Links

          Activity

            People

              anandsubbu Anand Subramanian
              anandsubbu Anand Subramanian
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: