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

Renamed ilm policy for event log so it is not prefixed with dot #64262

Merged
merged 3 commits into from
Apr 23, 2020

Conversation

YulNaumenko
Copy link
Contributor

Implemented by get the kibanaIndex value and if it has a dot prefix, removed it when constructing the ILM policy name.
If for some reason it doesn't have a dot prefix (since users can change it), just used that value to construct the ILM policy name.

Resolve #61494

@YulNaumenko YulNaumenko added Feature:Alerting v8.0.0 release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.8.0 labels Apr 22, 2020
@YulNaumenko YulNaumenko requested a review from a team as a code owner April 22, 2020 22:20
@YulNaumenko YulNaumenko self-assigned this Apr 22, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

Copy link
Member

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM; I tried running this, leaving ES running from before pulling the code. The new ILM policy got built, nothing seemed to be referencing it (as expected), and no unexpected log lines in es or Kibana. Also tried it after nuking my es files and restarting. Everything seemed to be pointing to the new policy name.

@mikecote mikecote self-requested a review April 23, 2020 12:59
Copy link
Contributor

@mikecote mikecote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

x-pack/plugins/event_log/server/es/names.ts Outdated Show resolved Hide resolved
x-pack/plugins/event_log/server/es/names.ts Outdated Show resolved Hide resolved
…ilm-policy

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@YulNaumenko YulNaumenko merged commit f520bbd into elastic:master Apr 23, 2020
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Apr 23, 2020
…tic#64262)

* Renamed ilm policy for event log so it is not prefixed with dot

* Fixed due to comments
gmmorris added a commit to gmmorris/kibana that referenced this pull request Apr 24, 2020
* master: (70 commits)
  KQL removes leading zero and breaks query (elastic#62748)
  [FieldFormats] Cleanup: rename IFieldFormatType -> FieldFormatInstanceType (elastic#64193)
  [ML] Changes transforms wizard UI text (elastic#64150)
  [Alerting] change server log action type .log to .server-log in README (elastic#64124)
  [Metrics UI] Design Refresh: Inventory View, Episode 1 (elastic#64026)
  chore(NA): reduce siem bundle size using babel-plugin-transfor… (elastic#63269)
  chore(NA): use core-js instead of babel-polyfill on canvas sha… (elastic#63486)
  skip flaky suite (elastic#61173)
  skip flaky suite (elastic#62497)
  Renamed ilm policy for event log so it is not prefixed with dot (elastic#64262)
  [eslint] no_restricted_paths config cleanup (elastic#63741)
  Add Oil Rig Icon from @elastic/maki (elastic#64364)
  [Maps] Migrate Maps embeddables to NP (elastic#63976)
  [Ingest] Data streams list page (elastic#64134)
  chore(NA): add file-loader into jest moduleNameMapper (elastic#64330)
  [DOCS] Added images to automating report generation (elastic#64333)
  [SIEM][CASE] Api Integration Tests: Configuration (elastic#63948)
  Expose ability to check if API Keys are enabled (elastic#63454)
  [DOCS] Fixes formatting in alerting doc (elastic#64338)
  [data.search.aggs]: Create agg types function for terms agg. (elastic#63541)
  ...
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Apr 24, 2020
…tic#64262)

* Renamed ilm policy for event log so it is not prefixed with dot

* Fixed due to comments
YulNaumenko added a commit to YulNaumenko/kibana that referenced this pull request Apr 24, 2020
…tic#64262)

* Renamed ilm policy for event log so it is not prefixed with dot

* Fixed due to comments
YulNaumenko added a commit that referenced this pull request Apr 24, 2020
…) (#64448)

* Renamed ilm policy for event log so it is not prefixed with dot

* Fixed due to comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Alerting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v7.8.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[alerting event log] rename ilm policy so it is not prefixed with dot
5 participants