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

Optionally change elasticsearch indices to monthly, or always write to the same index #17

Closed
klauer opened this issue Dec 18, 2020 · 1 comment · Fixed by #21
Closed

Comments

@klauer
Copy link
Contributor

klauer commented Dec 18, 2020

Expected Behavior

  • Monthly index changing

Current Behavior

  • Daily index changing

Context

Optimal index sizing is on the order of 1GB-10GB. Archstats daily indices are likely on the order of 1MB.

@klauer klauer changed the title Change elasticsearch indices to monthly Optionally change elasticsearch indices to monthly, or always write to the same index Mar 3, 2021
@klauer
Copy link
Contributor Author

klauer commented Mar 3, 2021

Alternatively:

  • elasticsearch can use an index alias, determining the correct actual index to write to.
  • This leaves index management up to elasticsearch instead of the client (i.e., archstats)

I think supporting both approaches may be reasonable.

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

Successfully merging a pull request may close this issue.

1 participant