-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63d40dc
commit 6a3e671
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# redash-query-importer | ||
|
||
Import queries from Definition file into [Redash](https://redash.io/) | ||
|
||
## Installation | ||
|
||
Download the latest binary from https://github.com/kirikiriyamama/redash-query-importer/releases | ||
|
||
## Usage | ||
|
||
### Synopsis | ||
|
||
``` | ||
redash-query-importer -f FILE | ||
``` | ||
|
||
### Options | ||
|
||
``` | ||
Usage of redash-query-importer: | ||
-f string | ||
Path to definition file | ||
``` | ||
|
||
### Definition file | ||
|
||
```yml | ||
api: | ||
base: https://redash.example.com | ||
key: xxxxx # NOT Query API Key but User API Key | ||
queries: | ||
- name: name | ||
description: description # optional | ||
data_source_id: 1 | ||
query: select 1 | ||
schedule: 3600 # (periodic execution, in seconds) or 15:00 (daily execution), optional | ||
``` |