Bulk uploading dashboards

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
jb60606
Posts: 9
Joined: Wed May 20, 2015 9:34 am

Bulk uploading dashboards

Post by jb60606 »

1.) We have literally hundreds of dashboards created by users that we would like to migrate to the 'global' account though we only see the option to manually upload dashboards - one at a time - via their individual .json files. Is there no repository where these json files can be bulk uploaded?

2.) Is there a limit to how many dashboards we can have in one account - particularly those made global?

Thanks
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Bulk uploading dashboards

Post by jolson »

There is no built-in way to do this using the Web GUI. I tried a couple of command-line methods out, but to my knowledge this procedure must be done using the GUI.

The following procedure at git: https://github.com/elastic/kibana/issues/333 did not work for me. I have submitted an internal feature request for this functionality.
Is there a limit to how many dashboards we can have in one account - particularly those made global?
To my knowledge there is not a limit to how many dashboards you can have.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Bulk uploading dashboards

Post by jolson »

jb60606,

I spoke with a developer, and there is a solution that will work for you.

1. Put all of your dashboards into /var/www/html/nagioslogserver/application/dashboards
The dashboard must end in .json and be owned by the nagios user

2. Using your web browser, navigate to <nlsserver>/index.php/install/upgrade/globals

At this point, all of your dashboards will be imported.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
jb60606
Posts: 9
Joined: Wed May 20, 2015 9:34 am

Re: Bulk uploading dashboards

Post by jb60606 »

Jolson,

Worked like a charm. Thanks again

Regards
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Bulk uploading dashboards

Post by jolson »

Glad to hear it - I'll lock this thread as resolved.

Best,


Jesse
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
Locked