Skip to content
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

Error importing visualization with scripted fields #4864

Closed
lukasolson opened this issue Sep 4, 2015 · 3 comments
Closed

Error importing visualization with scripted fields #4864

lukasolson opened this issue Sep 4, 2015 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience Feature:Config Export

Comments

@lukasolson
Copy link
Member

  1. Create a scripted field
  2. Create a visualization that uses the scripted field
  3. Export the visualization
  4. Clear the .kibana index
  5. Import the visualization
Error: Could not locate that index-pattern-field (id: absolute_amount)
    at FieldAggParamFactory.FieldAggParam.deserialize (http://localhost:5601/bundles/kibana.bundle.js:97535:16)
    at http://localhost:5601/bundles/kibana.bundle.js:101011:29
    at Array.forEach (native)
    at AggConfigFactory.AggConfig.fillDefaults (http://localhost:5601/bundles/kibana.bundle.js:100989:28)
    at new AggConfig (http://localhost:5601/bundles/kibana.bundle.js:100903:13)
    at http://localhost:5601/bundles/kibana.bundle.js:101575:19
    at Array.map (native)
    at new AggConfigs (http://localhost:5601/bundles/kibana.bundle.js:101573:35)
    at VisFactory.Vis.setState (http://localhost:5601/bundles/kibana.bundle.js:96991:20)
    at SavedVis._updateVis (http://localhost:5601/bundles/kibana.bundle.js:103460:17)
@lukasolson lukasolson added bug Fixes for quality problems that affect the customer experience v4.2.0 labels Sep 4, 2015
@rashidkpc rashidkpc added v4.2.1 and removed v4.2.0 labels Sep 14, 2015
@rashidkpc rashidkpc added v4.4.0 release_note:enhancement and removed v4.2.1 bug Fixes for quality problems that affect the customer experience labels Nov 6, 2015
@lukasolson lukasolson removed their assignment Nov 12, 2015
@rashidkpc rashidkpc added bug Fixes for quality problems that affect the customer experience and removed release_note:enhancement v4.4.0 labels Nov 23, 2015
@darrengarvey
Copy link

Is there any known way of using scripted fields in dashboards? This issue is over a year old so I imagine it may no longer be an issue.

@w33ble
Copy link
Contributor

w33ble commented Mar 2, 2017

I'm thinking this is most likely caused by #7667

@ycombinator
Copy link
Contributor

I just tried to reproduce this with the latest master (c09b69e) but was unable to. Sounds like this got fixed by some PR along the way, likely #10740.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Config Export
Projects
None yet
Development

No branches or pull requests

6 participants