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

Support multiple index sets in Graylog #7

Closed
wants to merge 1 commit into from

Conversation

hhamalai
Copy link

Currently multiple index sets are not supported. The returned list of indices (by sort_indices) will contain all indices over different index sets resulting arbitrary indices being archived over all index sets present.

The pull request will change the behaviour so, that the indices are first grouped by index set name, and then sorted by the index number, after which all but max_indices of the newest indices are archived from each index set.

Also changed to use relative imports for easier testing and development.

@hhamalai hhamalai closed this Oct 16, 2018
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 this pull request may close these issues.

None yet

1 participant