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

Is it possible to load dashboard from schema programmatically? #1190

Closed
fandrei opened this issue May 2, 2014 · 7 comments
Closed

Is it possible to load dashboard from schema programmatically? #1190

fandrei opened this issue May 2, 2014 · 7 comments

Comments

@fandrei
Copy link

fandrei commented May 2, 2014

(i.e. by request to the Kibana server from an external program)

@bobrik
Copy link

bobrik commented May 2, 2014

Create temporary dashboard and open it.

@fandrei
Copy link
Author

fandrei commented May 2, 2014

@bobrik, how to do this programmatically?

@Asimov4
Copy link

Asimov4 commented May 2, 2014

@fandrei
Copy link
Author

fandrei commented May 2, 2014

I already have a Kibana schema stored in the file. What I need is to load it, i.e. the same function as provided by "Load / Advanced / Local file" command in the web interface. Is there any API method with the same function?

@Asimov4
Copy link

Asimov4 commented May 3, 2014

Sorry I did not understand your use case.
You can index the kibana dashboard in your kibana-int index (where saved and temp dashboards are stored).
You can call the elasticsearch index api in order to do that. Look at other dashboards in kibana-int to see what format it expects for the dashboard documents.

@fandrei
Copy link
Author

fandrei commented May 3, 2014

Thanks. This is what I needed.

@fandrei fandrei closed this as completed May 3, 2014
@luckycse
Copy link

luckycse commented Feb 2, 2016

Hi Fandrei,

I am creating an application in which I want to create a dashboard programmatically using the data stored in elastic search by index name.Can you help me how can I proceed keeping in mind that I am new to Kibana. I am currently using elastic search 2.1.1 ,log stash 2.1.1 and Kibana 4.3.1

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@bobrik @fandrei @Asimov4 @luckycse and others