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

Docs improvement for using ILM with Filebeat and Logstash #29363

Closed
schersh opened this issue Jan 25, 2019 · 1 comment · Fixed by #59502
Closed

Docs improvement for using ILM with Filebeat and Logstash #29363

schersh opened this issue Jan 25, 2019 · 1 comment · Fixed by #59502
Assignees

Comments

@schersh
Copy link
Contributor

schersh commented Jan 25, 2019

Issue posted in Slack by @DanRoscigno: Yesterday I asked about getting ILM going for logs from Filebeat and Logstash. Here are my notes (I got it going last night):

The ILM UI points to the API docs, probably it would be best to link to a page that walks through the UI, like this one, but that page really needs an intro that says “If you are using ILM with Beats or Logstash see the Beats docs or Logstash docs as both of these will set up ILM for you” (I don’t have links, I do not believe that the docs are merged yet, but the asciidoc is in GitHub.

For people not using Filbeat or Logstash 6.6, these are the steps to make it work (I think!):

  • add attrs (e.g., node.attr.box_type: warm) to elasticsearch.yml to identify the nodes where warm and cold indices should be placed
  • Have an index template for the data source that you want to use with ILM.
  • Decide on the name for a rollover alias for the data source
  • Create a lifecycle policy and associate the index template and rolover alias name from above
  • Create an index with a rollover alias using the index template
  • start sending in data

Where I got very confused was the create an index with a rollover alias step. I assumed that when I specified the index template and alias name that the index and alias were being created. Does the first index have to be created so that the alias will exist?

Here is a original video or smaller and public of what I did that worked out great.

I would be happy to help with doc updates if you like.

@schersh schersh added Team:Docs Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more labels Jan 25, 2019
@elastic elastic deleted a comment from elasticmachine Jan 25, 2019
@DanRoscigno
Copy link
Contributor

Here is the video referenced in the opening post for people who cannot access the original.
output_med

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants