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

Search in all messages graphs use minute resolutions #2148

Closed
edmundoa opened this issue Apr 26, 2016 · 1 comment
Closed

Search in all messages graphs use minute resolutions #2148

edmundoa opened this issue Apr 26, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@edmundoa
Copy link
Member

@edmundoa edmundoa commented Apr 26, 2016

Problem description

When searching in all messages, both the search histogram, and field histograms use minute as default resolution. As that search query may ask for a long time of data, we should avoid doing that by default, and use a lower resolution instead.

If I remember correctly, we were using day as resolution before, but apparently that doesn't work any more.

Steps to reproduce the problem

  1. Search in all messages
  2. See that the search histogram has a minute resolution
  3. Create a field graph. It also uses minute resolution

Environment

  • Graylog Version: 2.0.0
@edmundoa edmundoa added bug web labels Apr 26, 2016
@kroepke kroepke added this to the 2.0.1 milestone May 2, 2016
@kroepke kroepke added S3 P3 labels May 2, 2016
@bernd bernd modified the milestones: 2.0.1, 2.0.2 May 11, 2016
@edmundoa edmundoa self-assigned this May 25, 2016
@edmundoa
Copy link
Member Author

@edmundoa edmundoa commented May 25, 2016

Correction, the resolution used for all messages may vary, but is still too small (currently using hour for 6 months of data).

edmundoa added a commit that referenced this issue May 26, 2016
This commit improves the way we auto calculate the histogram selection
on searches over all messages:

- Fix ordering of indices, so we actually get the oldest one as we
  intended
- Take into account that under some circumstances the deflector index
  does not have proper index ranges, and they default to 1 Jan 1970

Fixes #2148
kroepke added a commit that referenced this issue May 26, 2016
This commit improves the way we auto calculate the histogram selection
on searches over all messages:

- Fix ordering of indices, so we actually get the oldest one as we
  intended
- Take into account that under some circumstances the deflector index
  does not have proper index ranges, and they default to 1 Jan 1970

Fixes #2148
@kroepke kroepke closed this in 3b0ac6d May 26, 2016
@kroepke kroepke added the triaged label Sep 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.