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
150
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
あるチームでの技術選定で考えてること(外部向けに修正版)
vividmuimui
0
9
開発組織まわりで最近考えているあれこれ
vividmuimui
0
18
bundle-update.pdf
vividmuimui
0
120
Dependabot vs BundleUpdate+LockDiff
vividmuimui
0
84
あなたの知らないRuboCopの設定
vividmuimui
0
230
最近(2019/02/03)の #Ruby , #Rails , #Bundler 事情
vividmuimui
0
160
Jasperはいいぞ!
vividmuimui
0
48
Danger CI
vividmuimui
0
110
tigとかaliasなし生活を送ってみて改めてgitを覚えてる話
vividmuimui
0
120
Other Decks in Programming
See All in Programming
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
150
Python札幌 LT資料
t3tra
7
1.1k
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
180
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
280
Developing static sites with Ruby
okuramasafumi
1
340
re:Invent 2025 のイケてるサービスを紹介する
maroon1st
0
160
ThorVG Viewer In VS Code
nors
0
530
AIの誤りが許されない業務システムにおいて“信頼されるAI” を目指す / building-trusted-ai-systems
yuya4
7
4.2k
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
160
Unicodeどうしてる? PHPから見たUnicode対応と他言語での対応についてのお伺い
youkidearitai
PRO
0
110
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
210
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
590
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Utilizing Notion as your number one productivity tool
mfonobong
2
190
It's Worth the Effort
3n
187
29k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
870
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
65
35k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Mobile First: as difficult as doing things right
swwweet
225
10k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
410
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
0
29
BBQ
matthewcrist
89
9.9k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
72
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