-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
MultipleTargets not working #6
Comments
I'm a bit busy now I'll give a look this week end |
Sorry, I've been busy those days, I did not have the time to check, neither to install a running version of Kibana on my laptop. I don't remember how I did implement it, but I think the help message is wrong. According to those lines: var targetAggId;
try {
targetAggId = vis.aggs.bySchemaName['target'][0].id;
} catch (err) {
console.log("Target location is not set.");
}
[...]
var id = table.columns[i].aggConfig.id;
switch (id) {
[...[
case targetAggId:
targetColumn = i;
break;
}
[...]
if (targetColumn >= 0) {
data['target'] = geohash.decode(row[targetColumn].key);
} This refers to the aggregation named |
@xarkes when you say "So yes the help message is wrong" you are referring to "Multiple targets" help box:
yes? If so, to be clear, you are saying the option is inverted? i.e. to use multiple locations uncheck the "Multiple targets" box, not check it? In doing so I have encountered the following errors:
The console also notes that "Target location is not set". |
Unfortunately I am unable to test it right now and give you a proper solution. |
Please Xarkes, Many Thanks |
As I said in my previous message, try to use one geohash for the "Coordinates" aggregate and another one for "Target location" aggregate. Then check the box "Multiple targets" in the parameters. This should work fine. |
Based on the tooltip info for location data
I entered the data as
But the console keeps showing the error
Which is essentially this line
Any ideas? :(
The text was updated successfully, but these errors were encountered: