アプリケーションエンジニアのためのApache Spark入門を読む

Chapter 1 データ分析プラットフォームの概要

Chapter 2 Sparkの概要

2-5 本書で利用する環境

 Windows10上にVirtusBox+Vagrantで構築とあるがUbuntuを使っているので(mint 18.01)こちらに環境を構築する。

Chapter 3 サンプルユースケース概要

Chapter 4 Fluentd,Kafkaによるデータ収集

4-2 データ収集詳細 - Fluentd詳細

 本に従ってinstall、起動もOK、動作確認OK

f:id:bitop:20180908101816p:plain

ポート番号を8888から9999に変更

f:id:bitop:20180908102128p:plain

curlで問い合わせ

f:id:bitop:20180908111609p:plain

標準でログに保存されるのでVimで確認

f:id:bitop:20180908112119p:plain
確認OK
f:id:bitop:20180908112300p:plain