Org Commands

Following commands are used to interact with Grafana organizations.

  • import - Import orgs from Grafana to local orgs directory. For importing all orgs:

    $ wizzy import orgs
    

    For importing one org

    $ wizzy import org ORG_ID
    

    For example:

    $ wizzy import org 2
    
  • create - Creates an org in Grafana

    $ wizzy create org ORG_NAME
    

    For example:

    $ wizzy create org my-new-org
    
  • show - Shows org json object. Shows all orgs:

    $ wizzy show orgs
    

    Shows only 1 org:

    $ wizzy show org ORG_ID
    

    For example:

    $ wizzy show org 3
    
  • delete - Deletes an org in Grafana.

    $ wizzy delete org ORG_ID
    

    For example:

    $ wizzy delete org 3
    
  • export - Exports an org from your local directory into Grafana.

    $ wizzy export org ORG_ID
    

    For example:

    $ wizzy export org 3
    
  • switch - Switched Grafana org to another org

    $ wizzy switch org ORG_ID
    

    For example:

    $ wizzy switch org 3