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

Timechart should only allow for one by clause #26

Open
51-code opened this issue Mar 15, 2024 · 1 comment
Open

Timechart should only allow for one by clause #26

51-code opened this issue Mar 15, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@51-code
Copy link
Contributor

51-code commented Mar 15, 2024

Describe the bug

index=abc earliest =-4y | timechart count by source avg(host) by sourcetype
works, even though only one BY clause should be possible.

Expected behavior

A list of aggregates can be given, but there should only be one by clause for all of them.

Example: index=abc earliest =-4y | timechart count avg(host) by sourcetype
where both count and avg(host) will be grouped by the sourcetype column.

How to reproduce

Run the query above.

Screenshots

Software version

5.4.0

Desktop (please complete the following information if relevant):

  • OS:
  • Browser:
  • Version:

Additional context

@51-code 51-code added the bug Something isn't working label Mar 15, 2024
@51-code 51-code self-assigned this Mar 15, 2024
@51-code
Copy link
Contributor Author

51-code commented Mar 20, 2024

Internal PR created.

However, not going to merge until the relevant changes are ready in PTH-10.

@ronja-ui ronja-ui closed this as completed May 2, 2024
@ronja-ui ronja-ui reopened this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants