Manage Dashboards

Set Permissions

Users who manage or use dashboards need specific permissions to do so.

Permissions to Manage Dashboards

The built-in roles admin and developer both have sufficient permissions to manage dashboards.

For users who manage dashboards, set these permissions in roles, and then assign the roles to users:

GET:/solr/{id}/\*:id=*_collection-name_*
GET:/solr/{id}/admin/luke:id=*_collection-name_*
GET,POST,PUT,DELETE:/solr/system_blobs/\*
GET,POST,PUT,DELETE:/collections/system_blobs

Permissions to Use Dashboards

The built-in role search doesn’t have sufficient permissions to use dashboards.

For users who manage dashboards, set these permissions in roles, and then assign the roles to users:

GET:/solr/{id}/\*:id=*_collection-name_*
GET:/solr/{id}/admin/luke:id=*_collection-name_*
GET:/solr/system_blobs/\*
GET:/collections/system_blobs

Manage Dashboards

  • Create a new dashboard – Create a new dashboard:

    • Time-series dashboard – At the top right of a dashboard, click New New > Time-series dashboard.

    • Non time-series dashboard – At the top right of a dashboard, click New New > Non time-series dashboard.

    • Start from an example or template – Open an example dashboard or template. At the top right of the open dashboard, click Load Load.

    • Start from a blank dashboard – Open the New Dashboard template blank.json.

    In all of these cases, save the dashboard as a new dashboard.

    For more information about creating dashboards, see Create Dashboards.

  • Configure a dashboard – At the top right of the dashboard, click Configure Dashboard Configure dashboard.

  • Set the default search field – At the top right of the dashboard, click Configure Dashboard Configure dashboard. On the Solr tab under Global Query Parameters, include a &df parameter; for example, &df=product.

  • Let dashboard users choose the collection – At the top right of the dashboard, click Configure Dashboard Configure dashboard. On the Controls tab, select Show Collections Picker.

  • Save a dashboard – Click Save Dashboard Save Dashboard. You can save a dashboard to Solr, a file, or a GitHub gist. We recommend that you always save dashboards to Solr (even if you also save them as files or gists). For more information, see Save a Dashboard.

  • Delete a dashboard saved in Solr – At the top right of the open dashboard, click Load Load. Saved dashboards are listed at the bottom of the dialog box. Next to the dashboard you want to delete, click Delete. Click OK to confirm that you want to delete the dashboard.

  • Delete a dashboard saved in a file – Navigate to the file and delete it.

  • Delete a dashboard saved as a Github gist – Open the gist URL. Click Delete.