Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ingest Management] Change indexing from {type}-{namespace}-{dataset} to {type}-{dataset}-{namespace} #56132

Merged
merged 5 commits into from
Feb 12, 2020

Commits on Feb 10, 2020

  1. [Ingest Management] Change indexing from {type}-{namespace}-{dataset}…

    … to {type}-{dataset}-{namespace}
    
    Currently we have the indexing strategy defined as `{type}-{namespace}-{dataset}`. In this PR I propose to change this to `{type}-{dataset}-{namespace}`. As all 3 fields are constant keyword fields, the orders does not matter in most cases.
    
    The reason I propose this change is to better align the name of indices with the name of the other assets:
    
    * ingest pipeline: {type}-{dataset}
    * index template: {type}-{dataset}
      * Index pattern: {type}-{dataset}-*
    * alias name: {type}-{dataset}-{namespace}
    
    This makes it easier to remember the asset names conventions (at least for me).
    
    It makes a difference when specifying security per namespace: To lock down security, previously it is `/(logs|metrics)-prod-$/` and becomes `/(logs|metrics)-[^-]+-prod-$/`. In any case,w e should help / assist the user to get this right.
    ruflin committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    591e294 View commit details
    Browse the repository at this point in the history
  2. fix pattern

    ruflin committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    1053cf4 View commit details
    Browse the repository at this point in the history
  3. add version to ingest pipeline

    ruflin committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    b285c25 View commit details
    Browse the repository at this point in the history
  4. clarify which version

    ruflin committed Feb 10, 2020
    Configuration menu
    Copy the full SHA
    96794cd View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2020

  1. Configuration menu
    Copy the full SHA
    badd9b3 View commit details
    Browse the repository at this point in the history