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

Expose object import/export as an API #4759

Closed
spalger opened this issue Aug 26, 2015 · 43 comments
Closed

Expose object import/export as an API #4759

spalger opened this issue Aug 26, 2015 · 43 comments
Assignees
Labels
enhancement New value added to drive a business result Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@spalger
Copy link
Contributor

spalger commented Aug 26, 2015

In order to satisfy automatically exporting dependent saved objects #27203, having the export and import logic on the server side will facilitate object manipulation.

Proposed would be three new rest API endpoints:

  • POST /api/management/saved_objects/_export
  • POST /api/management/saved_objects/_import
  • POST /api/management/saved_objects/_resolve_import_conflicts

Notes:

  • A new file format would be used to facilitate streaming (newline delimited JSON).
  • The objects would be exported in an orderly manner to have dependencies first. Import API will work off this assumption.
  • Migrations will execute on the imported data.
Original description

It would be great to move saved object import/export as a rest API. This requires that savedObjects can be used on the server, but seems like a worthwhile goal so that savedObject manipulation can be a bit more automated.

@babadofar
Copy link

+1

2 similar comments
@timperrett
Copy link

+1

@jonatanblue
Copy link

+1

@rashidkpc rashidkpc assigned epixa and unassigned spalger Nov 23, 2015
@rashidkpc
Copy link
Contributor

Related to #5480

@rashidkpc rashidkpc added v5.0.0 and removed v4.4.0 labels Nov 23, 2015
@simianhacker simianhacker added P2 and removed v5.0.0 labels Jan 5, 2016
@ghost
Copy link

ghost commented Jan 13, 2016

+1
would help also a lot with bootstraping a virtualized application containing elk stack

@dfederschmidt
Copy link

+1

@epixa epixa removed their assignment Apr 25, 2016
@thethomp
Copy link

+1

2 similar comments
@deddy83
Copy link

deddy83 commented Sep 14, 2016

+1

@Dchamard
Copy link

+1

@lcarstensen
Copy link

+1, we'd like to promote saved searches alongside logging code releases in our release pipeline.

@LiberQuack
Copy link

༼ᕗຈل͜ຈ༽ᕗ +1

@raam86
Copy link

raam86 commented Dec 13, 2016

+1

1 similar comment
@billwestfall
Copy link

+1

@Billonline
Copy link

+1!

@ivoputzer
Copy link

+1

1 similar comment
@joebew42
Copy link

+1

@epixa epixa removed the P2 label Apr 25, 2017
@MissDali
Copy link

+1

@dmitrypol
Copy link

+1. It would be great to build these visualization objects on a dev machine, commit to git and as part of deploy process update then on test/prod environments.

@epixa
Copy link
Contributor

epixa commented Jun 16, 2018

@dmitrypol This issue is specifically for REST APIs for export/import. Follow #2310 for loading objects from the file system.

@epixa epixa added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc enhancement New value added to drive a business result and removed release_note:enhancement labels Jun 16, 2018
@maharg101
Copy link

could I just +1 👍

@JoaoFranciscoCarvalhoNeto

Hey there Mike,
I can see you are working on this issue as I write this. Any updates on the issue of creating Dashboards saving the JSON file to Kibana?

@mikecote
Copy link
Contributor

mikecote commented Jan 7, 2019

Hi @JoaoFranciscoCarvalhoNeto, a pull request is on its way to resolve this. I have to finish the relationships aspect first #27210.

@JoaoFranciscoCarvalhoNeto

Thanks @mikecote! Keep up the wonderful work

@mikecote
Copy link
Contributor

Fixed by #33513.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Saved Objects Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests