LoginSignup
0
0

More than 5 years have passed since last update.

NiFiで、Apache Webサーバー アクセスログ取得

Last updated at Posted at 2018-10-09

ゴール

Apache Web server httpd accesslogをtailで取得し、指定のファイル(S3/Local/HDFS)に貯めておく

DataFlow全体図

image.png

手順

もしApache Webサーバーがなかったら、一つインストール

TailFileで、指定ファイルもしくはフォルダを監視

image.png

File(s) to tailにファイル名を指定:
/var/log/httpd/access_log

base directory=/var/log/httpd

ある程度まとめる:MergeContent

ファイルに保存

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0