Dashboard Metabase



Mar 12, 2021 Here's a example dashboard taken from the Metabase documentation: The nice touch is the ability to embed dashboards in your own applications. (⚠️ no paid licence is required for a back-office integration but you will need to pay the Commercial licence if you want to embed dashboards in the products you sell). In Metabase Enterprise Edition, when setting up a dashboard subscription you can now specify different values for each filter in the dashboard. For example, one subscription could send the contents of the dashboard with results filtered for Vermont, while another subscription would get results for Wisconsin. With this option enabled, Metabase will only scan and cache the values of the field or fields that are required whenever a new filter is added to a dashboard or SQL/native question. For example, if you were to add a dashboard category filter, mapped to one field called Customer ID and another one called ID, only those two fields would be.

MySQL & PostgreSQL

MySQL and PostgreSQL are currently not supported by cscli dashboard. It means that you can run cscli dashboard only if you use SQLite (default) as storage database with your local API.

The cscli command cscli dashboard setup will use docker to install metabase docker image and fetch our metabase template to have a configured and ready dashboard.

Setup¶

Setup and Start crowdsec metabase dashboard

Dashboard Metabase

Optional arguments:

  • -l |--listen : ip address to listen on for docker (default is 127.0.0.1)
  • -p |--port : port to listen on for docker (default is 8080)
  • --password : password for metabase user (default is generated randomly)
  • -f | --force : override existing setup
cscli dashboard setup

Protip

the dashboard setup command will output generated credentials for metabase.Those are stored in /etc/crowdsec/metabase/metabase.yaml

Now you can connect to your dashboard, sign-in with your saved credentials then click on Crowdsec-agent Dashboard to get this:

Dashboard metabase software

Dashboard docker image can be managed by cscli and docker cli also. Look at the cscli help command using

Remove the dashboard¶

Metabase Dashboard Demo

Remove crowdsec metabase dashboard

What Is Metabase

Optional arguments:

MetabaseMetabase
  • -f | --force : will force remove the dashboard

Metabase Github

Stop the dashboard¶

Stop crowdsec metabase dashboard

Start the dashboard¶

Dashboard Metabase Sign In

Start crowdsec metabase dashboard

Dashboard Metabase Software

Note: Please look at this documentation for those of you that would like to deploy metabase without using docker.