-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Timelion: Allow math operations on inner join of different splits, or allow to define split values #32467
Comments
Pinging @elastic/kibana-app |
A (conceptually) simple fix for this problem would be specifying that the split is not a max number of buckets, but exactly how many buckets are required. E.g.
whichever query has more splits can look to the other for a NULL split in addition to a matching split |
+1 |
I personally think a straightforward solution to this is just let me specify a default value. Eg, if I'm trying to divide X / Y, if there's not a value for X, let me default it to 0. Whether I do that by doing |
+1 |
Any idea how to get .default() function in ELK 7? It seems it doesn't come with the default function suite. |
+1 |
4 years later, still no solution ? |
Hey Team, |
Closing this because it's not planned to be resolved in the foreseeable future. It will be tracked in our Icebox and will be re-opened if our priorities change. Feel free to re-open if you think it should be melted sooner. |
Describe the feature:
I'm trying to divide two split series.
Splitting by same term & same number of splits in each series.
The query is a bit different for each series - this causes the splits to be different which then don't match.
The error given by timelion:
Timelion Error: in cell #1: Unable to pairwise reduce seriesLists, number of series are not the same
Possible solutions:
Any of these solutions would work for me, but I wasn't able to find a way to do any of them.
Describe a specific use case for the feature:
An example query is as follows:
.es(q = 'TR:CR AND CV:true', split = account_name:10).divide(.es(q = 'TR:CR AND AT:B', split = account_name:10))
account_name potentially has hundreds of values.
The only way to do this now (that I know of) is to run each series, see which accounts are returned, then choose 10 accounts and write 10 individual queries.
The text was updated successfully, but these errors were encountered: