Coder Social home page Coder Social logo

Comments (4)

nyurik avatar nyurik commented on September 14, 2024

I am not exactly sure what you mean by selection. Vega can visualize whatever data you can get from the Elasticsearch query(s). So if you can get the data you need, you can draw it as a matrix. As of 6.4, it is possible to use kibanaAddFilter() and similar to control the dashboard's context, so you can make your Vega graph modify the dashboard based on user's actions.

from kibana-vega-vis.

gshively11 avatar gshively11 commented on September 14, 2024

I think kibanaAddFilter() is what I'm looking for, I'll dig into that, but let me try to clarify in case you have other advice:

https://vega.github.io/vega-lite/examples/interactive_splom.html

If you you shift+click+drag on one of the scatterplots in that example, you can select a subset of the data (enabled by the "selection" feature in vega). What I need is to get the records inside that selection, preferably in Kibana table visualization.

If kibanaAddFilter lets me update a dashboard's context with a filter/query that only selects the records in the selection subset, then that should work great. Am I understanding that correctly?

from kibana-vega-vis.

nyurik avatar nyurik commented on September 14, 2024

@gshively11 pretty close - just note that the example you linked to is a Vega-Lite, not Vega. VL is compiled into Vega, so you could see how VL does the selection, and how you can change it to add custom event processing with add filter.

from kibana-vega-vis.

bgeVam avatar bgeVam commented on September 14, 2024

I think kibanaAddFilter() is what I'm looking for, I'll dig into that, but let me try to clarify in case you have other advice:

https://vega.github.io/vega-lite/examples/interactive_splom.html

If you you shift+click+drag on one of the scatterplots in that example, you can select a subset of the data (enabled by the "selection" feature in vega). What I need is to get the records inside that selection, preferably in Kibana table visualization.

If kibanaAddFilter lets me update a dashboard's context with a filter/query that only selects the records in the selection subset, then that should work great. Am I understanding that correctly?

Did you try that, and share an example or some thoughts? Much appreciated!

from kibana-vega-vis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.