Comments (8)
This is the expected behavior. Filters do not save with Vega. Instead, you can create your own query inside the Vega spec, and set any needed filtering there as part of the actual ES query.
If you want your query to also depend on the context, in addition to the query params you specified, you can use things like %dashboard_context-must_clause%
(see readme).
from kibana-vega-vis.
Oh sweet, I didn't see that before, thanks!
from kibana-vega-vis.
@nyurik Are there plans to make it possible for one to either attach the vega to a saved search or attaching a filter/search to it?
from kibana-vega-vis.
@seanziee I'm not sure I understand - what do you mean by attaching vis to a saved search? Is that a standard Kibana feature? Please elaborate. thx
from kibana-vega-vis.
Yes, it is a standard feature. If you go to create a bar chart for example, after clicking on bar chart, you go to a screen that says choose an index or Saved search to use with the visual. That's one way to restrict the data on a visual.
The other way is when you're in the process of creating the visual (like bar chart or most others), there is the standard lucene search bar at the top of the screen that you can send lucene queries for filtering out data for the visual. The Vega visual has that bar, but if you enter a search parameter and save the Vega visual, the search/filter doesn't save with the visual. Does that make sense? You can do it inside the Vega script but it would be nice to also do it with lucene on the top bar (for less technical users who don't want to look at the Vega source).
from kibana-vega-vis.
@seanziee this sounds like an interesting enhancement, but I really want others to look at it too. Could you file this as an enhancement request, with all the details, at https://github.com/elastic/kibana/issues ? Thx!
from kibana-vega-vis.
Just created it here.
:D
from kibana-vega-vis.
Where it would still be useful there is a workaround using index aliases:
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html
from kibana-vega-vis.
Related Issues (20)
- Any way to open URLs in another tab?
- Using %timefilter%: min in transform
- Kibana (6.8) Vega Force Transform Autosize Issues
- [Question]: Extracting records/data from selection HOT 4
- What time can support 4.X version
- Support Kibana 6.4.*
- Parameter maxZoom in Vega map
- vega 6.5.1 HOT 1
- Send Request at same speed of other widget (1s custom) HOT 2
- Can Vega-Kibana use a WMS service for a base map? HOT 2
- Plugin installation was unsuccessful due to error "No valid url specified." HOT 1
- Incorrect Kibana version in plugin [vega_vis]. Expected [6.5.1]; found [6.2.4] HOT 1
- Bucket Script - Sum Aggregation as filter HOT 2
- Use signal in index name (dynamic index_name) HOT 1
- versioning of the Kibana Vega declaration
- Unable to plot trend
- [Question]: Dynamic Query DSL formatting using kibanaAddFilter() HOT 1
- Not loading data from URLs without encryption HOT 1
- GeoShape visualisation from ES HOT 8
- Transform HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kibana-vega-vis.