Hi there,
I'm about to start to dig a bit into the developing plugins world and I'd like to describe what I'd like to do an get any advice or recommendations if you have any.
I'm building a new vertical bar chart where I have a 3rd aggregation on my data that is displayed in the tool tip. I know adding an extra aggregation (if the agg results in an array/object) would lead to a 3D chart which is not ideal but adding this functionality would be super valuable. So a workaround I figured would be to only pull in the first value in the bucket of the 3rd aggregation as a sample of that aggregation. Let me explain my use case more practically. I have error codes that I'd like to track over time which have a message body that I'd like to see all on one visual. Currently, I hover over a data point and I can see what error code happened at what time, but I can't see what the error actually says. I need to put a saved search on the dash in order to help with that, but it adds a few steps to look deeper at a given code. For anyone working with data codes that aren't the generic 200-500 status codes, they would find it useful to see what error codes are happening when and a little more information about that errorcode to see if it is important to look at (like where it comes from or the message itself).
This would look like agg >> Date Histogram >>sub agg >> ErrorCode >>sub agg >> Message.bucket[0] , or aggs:{ Date Histogram: {....},aggs :{ ErrorCode: {...,aggs: { Message:{...}}}}}; where only the first data point of the Message bucket would be pulled for that ErrorCode. And that message data point is listed on the tooltip.
I would love any guidance for this anyone has: Is it going to be too resource intensive to have 3 aggregations for each data point? Is there a way to do this that is easier than I'm imagining?
One separate problem I'm having: I've tried the plugin template creator (Sao), and adding plugins that have already been created from others to the plugins folder while Kibana is in dev mode. Kibana starts up, and I can use it, but the visualizations don't appear in the visualizations tab. I've tried adding c3_charts, 3D_ charts and when I check plugins that are installed in Kibana, those two are in the response, but I cannot see them in the visualizations tab. Any idea why? I tried on v5.6.3 and v5.4.3 on my macOSX with being sure that the node --version is the same in the .node-version file. There are no errors reported by kibana and I just don't really know where to go from here. Any help appreciated!