Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Redashを(少しだけ)使いこなすためのTIPS
Search
vividmuimui
May 02, 2018
Programming
0
140
Redashを(少しだけ)使いこなすためのTIPS
original
https://vividmuimui.github.io/slides/redash-tips/slides/
vividmuimui
May 02, 2018
Tweet
Share
More Decks by vividmuimui
See All by vividmuimui
bundle-update.pdf
vividmuimui
0
88
Dependabot vs BundleUpdate+LockDiff
vividmuimui
0
56
あなたの知らないRuboCopの設定
vividmuimui
0
110
最近(2019/02/03)の #Ruby , #Rails , #Bundler 事情
vividmuimui
0
110
Jasperはいいぞ!
vividmuimui
0
38
Danger CI
vividmuimui
0
93
tigとかaliasなし生活を送ってみて改めてgitを覚えてる話
vividmuimui
0
83
lock_diff の紹介
vividmuimui
0
85
mysqlでの全文検索での検索の仕方入門
vividmuimui
0
92
Other Decks in Programming
See All in Programming
大規模Reactアプリのリアーキテクチャ~8万行のTanStack Query移行の軌跡~
kj455
4
980
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
380
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
検証も兼ねて個人開発でHonoとかと向き合った話
hanetsuki
1
1.2k
Java 22 Overview
kishida
1
190
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
250
Introducing Kotlin Multiplatform in an existing mobile app - Workshop Edition | AndroidMakers Paris
prof18
0
100
Polars入門
daikikatsuragawa
1
100
Goのエラースタックトレースの歴史と今後
sonatard
9
1.6k
PHPはいつから死んでいるかの調査
chiroruxx
1
400
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
870
『Railsオワコン』と言われる時代に、なぜブルーモ証券はRailsを選ぶのか
free_world21
0
270
Featured
See All Featured
Building Flexible Design Systems
yeseniaperezcruz
319
37k
What's new in Ruby 2.0
geeforr
337
31k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
Designing Experiences People Love
moore
136
23k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
Atom: Resistance is Futile
akmur
259
25k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
122
39k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
221
21k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
10 Git Anti Patterns You Should be Aware of
lemiorhan
648
58k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
Transcript
Redash( 少しだけ) 使いこな Redash( 少しだけ) 使いこな すためのTIPS すためのTIPS 2018/05/22 社内LT
資料 @vividmuimui 1
chart の種類 chart の種類 弱者なので使いこなせてないですけど、色々ある! 他のツールと比べて十分あるかはわからないです! https://redash.io/help/user-guide/visualizations/visualization-types 2
色んなdata source 色んなdata source Mysql Amazon Aurora Athena Bigquery Elasticsearch
SpreadSheet Google Analytics etc https://redash.io/integrations/ 3
既存のクエリもData 既存のクエリもData source にできる! source にできる! 既存のクエリをdata source としてクエリを発行できる 複雑なクエリ1
つ書ければ要らないかもしれないが、 小さいクエリ複数をdata source としたほうが簡単なケースも有る https://redash.io/help/user-guide/querying/query-results-data-source 4
concat 使えばURL とか画像 concat 使えばURL とか画像 とか とか SELECT url,
concat('<a href="', url, '" target="_blank">', name, '</a>') AS url1, concat('<img src="', url, '" width="50" height="50">') AS img FROM avatar_icons 5
変数を外から与える 変数を外から与える というように 名前 で書いてあげると自動的にredash が判断してくれる https://redash.io/help/user-guide/querying/query-parameters SELECT * FROM
characters WHERE characters.created_at >= "{{created_at}}" AND characters.world = {{world_number}} 6
入力するtype は、 number とかdatetime とかから選択する 7
dashboard はシェアできる dashboard はシェアできる dashboard はシェア用のリンクを発行でき、redash のアカウントを持ってな い人でも閲覧できる https://redash.io/help/user-guide/dashboards/sharing-dashboards 8
publish, unpublish publish, unpublish クエリをsave した直後は ( 下書き状態) になっていて、他のユーザ ーからは見れない
publish することで他のユーザーから見えるようになる。クエリ一覧にも表 示されるようになる https://redash.io/help/user-guide/querying/writing- queries#publishunpublish 9
refresh shedule refresh shedule クエリの定期実行ができる 結果をキャッシュしてくれるので、結果のページがさくっと開ける https://redash.io/help/user-guide/querying/scheduling-a-query 10
書いてない話 書いてない話 redash の結果を外部に公開 api, embed, slack bot etc alerts
dashboard のtext boxes を使った入力フォーム 環境変数の設定が必要 etc https://blue1st-tech.hateblo.jp/entry/2016/09/04/224200 11