redashでALL Queriesを選択すると “Loading…” のままで変わらないという問題が発生。redash生みの親 arikfr氏 のヒントで解決に至った。
2018年10月
![](https://sumito.jp/wp-content/uploads/2018/08/9db388c63956382c6cfbd54cc23aa338.png)
aws
redashでALL Queriesを選択すると “Loading…” のままで変わらない
![](https://sumito.jp/wp-content/uploads/2018/08/68046e3b6a911bd5d374f971004913f8.png)
linux
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2 “No such file or directory”)
はじめに以下のようなエラーが発生する事があるERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file
![](https://sumito.jp/wp-content/uploads/2018/08/9db388c63956382c6cfbd54cc23aa338.png)
redash
DQLで手の届きにくいところをredashでなんとかする
DynamoDBを操作するとき、DQLの操作が難しかったり、GroupByができなかったり。SQLでできないところができなかったりすることが多い。redashを使えばそれもなんとかなったりします。
![](https://sumito.jp/wp-content/uploads/2018/10/8ae4e4a4d87ab471784cb815cd779e3d.png)
linux
mauticをDockerで試したが…
OSS版のMarketoのようなマーケティングツールをDockerでインストールを試みたが一筋縄に行かなかった。
![](https://sumito.jp/wp-content/uploads/2018/10/8a81a307193408bff66c543e59616248-e1578158116308.png)
aws
CloudWatch Logsで任意の文字列を監視し、メールで通知する
はじめにCloudWatch Logsで集めたログの中で任意の文字列(例えば、Errorとか、Criticalとか)が記載されていた場合、メールなどで通知させたい事がある。Node.jsをLambdaで動かす事で文字列監視を実装した。
![](https://sumito.jp/wp-content/uploads/2018/10/7baec80130a2205321dd6d20aee8ac31-320x320.png)
aws
Error running query: No index found for query. Please use a SCAN query, or set allow_select_scan=True opt allow_select_scan true
はじめにDynamoDBはiwazutoshiretaKVSだが、それを忘れてredashで実行しようとすると、当然ながらエラーになる。redashでDynamoDBのデータを見ようとした際、以下のようなエラーが出た