Solaris10でfluent-agent-liteを動かす
Solaris10な環境でfluent-agent-liteを動かすためのメモです。
目的がDBサーバ向けのログ監視向けのログ転送用で
という理由でfluent-agent-liteでとりあえずサクっと作れたら嬉しいという感じです。
構築方針を「1ディレクトリに必要なものを全部ぶち込む」とするため、install.sh などもちょっと手を入れます。
●明示的にダウンロードするもの
- Perl (5.16系では起動時にエラーが起きてしまったので、動く中での新しめの 5.14系で行きます
- cpanm (fluent-agent-lite の bin/install.sh で落としますが、curl になっているので事前に落としておきます
- coreutils & xz (xz は coreutils のアーカイブ展開用、coreutils内で必要なのはtailのみ
- fluent-agent-lite
●大雑把な作り方
・ダウンロード Solaris10はcurlはデフォルトでは無いんですよね。 wegt http://www.cpan.org/src/5.0/perl-5.14.4.tar.gz wget http://ftp.gnu.org/gnu/coreutils/coreutils-8.21.tar.xz wget http://tukaani.org/xz/xz-5.0.5.tar.gz wget --no-check-certificate http://xrl.us/cpanm wget --no-check-certificate https://github.com/tagomoris/fluent-agent-lite/archive/master.zip mv master fluent-agent-lite.v1.0.zip ・環境変数 export PATH=/usr/sfw/bin:/usr/sfw/sbin:/usr/xpg4/bin:/usr/ccs/bin:/usr/sbin:/usr/bin ・perl gtar xzf perl-5.14.4.tar.gz cd perl-5.14.4 ./Configure -Dcc=gcc -des -Dprefix=/usr/local/fluent-agent-lite-v1.0 gmake gmake install ・xz coreutils-8.21.tar.xzが展開できればいいので、installはしません。してもいいけれど。 gtar xzf xz-5.0.5.tar.gz cd xz-5.0.5 ./configure gmake LD_LIBRARY_PATH=./src/liblzma/.libs/ ./src/xz/.libs/xz -d ../coreutils-8.21.tar.xz ・coreutils 欲しいのはtailだけなのでmake後単独でコピります。 make checkするとFAILしたりするので、微妙なものを入れないという意味もあります。tail部分はクリアしてる様子。 gtar xf coreutils-8.21.tar chown -R mhnsr:other coreutils-8.21 cd coreutils-8.21 su mhnsr ./configure --prefix=/usr/local/fluent-agent-lite-v1.0 gmake exit cp -p src/tail /usr/local/fluent-agent-lite-v1.0/bin/ chown root:root /usr/local/fluent-agent-lite-v1.0/bin/tail ・cpanm chmod +x cpanm cp -p cpanm /usr/local/fluent-agent-lite-v1.0/bin/ ・fluent-agent-lite unzip fluent-agent-lite.v1.0.zip cd fluent-agent-lite-master/ cp -p bin/install.sh bin/install.sh.org vi bin/install.sh cp -p lib/Fluent/AgentLite.pm lib/Fluent/AgentLite.pm.org vi lib/Fluent/AgentLite.pm cp -p package/fluent-agent-lite.init package/fluent-agent-lite.init.org vi package/fluent-agent-lite.init bin/install.sh ・起動 cd /usr/local/fluent-agent-lite-v1.0/ vi fluent-agent-lite.conf ./fluent-agent-lite start
●diff周り
install.sh、fluent-agent-lite.init の変更のやり方がだめだめです。とりあえず動かすことを優先した結果。
もうちょいうまく直せて、Solaris11系辺りでも問題なく動くようなら修正の提案してみたいところです。
#diff -u bin/install.sh bin/install.sh.org --- bin/install.sh Fri Dec 13 02:20:29 2013 +++ bin/install.sh.org Wed Dec 11 16:24:40 2013 @@ -15,7 +15,7 @@ if [ "x"$PREFIX = "x" ]; then PREFIX= fi -INSTALLDIR=/usr/local/fluent-agent-lite-v1.0 +INSTALLDIR=$PREFIX/usr/local/fluent-agent-lite if [ "x"$PERL_PATH = "x" ]; then PERL_PATH="perl" @@ -31,17 +31,17 @@ cd $INSTALLDIR -#curl -s -L http://xrl.us/cpanm > $INSTALLDIR/bin/cpanm -#chmod +x $INSTALLDIR/bin/cpanm +curl -s -L http://xrl.us/cpanm > $INSTALLDIR/bin/cpanm +chmod +x $INSTALLDIR/bin/cpanm $PERL_PATH $INSTALLDIR/bin/cpanm -n -lextlib inc::Module::Install $PERL_PATH $INSTALLDIR/bin/cpanm -n -lextlib --reinstall --installdeps . cd $SOURCEDIR -#mkdir -p $PREFIX/etc/init.d -cp package/fluent-agent-lite.init $INSTALLDIR/fluent-agent-lite -chmod +x $INSTALLDIR/fluent-agent-lite +mkdir -p $PREFIX/etc/init.d +cp package/fluent-agent-lite.init $PREFIX/etc/init.d/fluent-agent-lite +chmod +x $PREFIX/etc/init.d/fluent-agent-lite -if [ ! -f $INSTALLDIR/fluent-agent-lite.conf -o "x"$CLEAN = x"y" ]; then - cp package/fluent-agent-lite.conf $INSTALLDIR/fluent-agent-lite.conf +if [ ! -f $PREFIX/etc/fluent-agent-lite.conf -o "x"$CLEAN = x"y" ]; then + cp package/fluent-agent-lite.conf $PREFIX/etc/fluent-agent-lite.conf fi diff -u lib/Fluent/AgentLite.pm lib/Fluent/AgentLite.pm.org --- lib/Fluent/AgentLite.pm Fri Dec 13 02:22:23 2013 +++ lib/Fluent/AgentLite.pm.org Wed Dec 11 16:24:40 2013 @@ -58,7 +58,7 @@ *pack_drainlog = *pack_drainlog_json; } - srand (time ^ $PID ^ unpack("%L*", `ps -ef | gzip`)); + srand (time ^ $PID ^ unpack("%L*", `ps axww | gzip`)); bless $self, $this; } diff -u package/fluent-agent-lite.init package/fluent-agent-lite.init.org --- package/fluent-agent-lite.init Fri Dec 13 02:26:42 2013 +++ package/fluent-agent-lite.init.org Wed Dec 11 16:24:40 2013 @@ -7,7 +7,7 @@ prog="fluent-agent-lite" -scriptpath="/usr/local/fluent-agent-lite-v1.0/bin/"$prog +scriptpath="/usr/local/fluent-agent-lite/bin/"$prog if [ ! -x $scriptpath ]; then echo "Not installed properly" @@ -14,7 +14,7 @@ exit 1 fi -CONFIG_FILE=/usr/local/fluent-agent-lite-v1.0/fluent-agent-lite.conf +CONFIG_FILE=/etc/fluent-agent-lite.conf if [ ! -r $CONFIG_FILE ]; then echo "Config file does not exists: "$CONFIG_FILE exit 1 @@ -21,7 +21,7 @@ fi source $CONFIG_FILE -PID_FILE=/usr/local/fluent-agent-lite-v1.0/fluent-agent-lite.pid +PID_FILE=/var/run/fluent-agent-lite.pid RETVAL=0 @@ -47,7 +47,7 @@ if [ "x"$FORCE_START = "x" -o "x"$FORCE_START = "xno" -o "x"$FORCE_START = "x0" -o "x"$FORCE_START = "xfalse" ]; then for (( i = 0; i < $lines; i++ )); do lineno=$((i + 1)) - line=$(echo "$LOGS" | grep -v '^#' | tail -$lineno | head -n 1) + line=$(echo "$LOGS" | grep -v '^#' | tail -n $lineno | head -n 1) path=$(echo $line | awk '{print $2;}') if [ ! -r "$path" ]; then echo "$path does not exist or is not readable." @@ -238,7 +238,7 @@ prepare_build lineno=$((pos + 1)) - line=$(echo "$LOGS" | grep -v '^#' | tail -$lineno | head -n 1) + line=$(echo "$LOGS" | grep -v '^#' | tail -n $lineno | head -n 1) tag=$(echo $line | awk '{print $1;}') tag=$TAG_PREFIX_STRING$tag @@ -268,7 +268,6 @@ *) echo $"Usage: $prog {start|stop|restart|reload|status}" exit 1 - ;; esac exit $RETVAL
●install.sh実行時イメージ
#bin/install.sh --> Working on inc::Module::Install Fetching http://www.cpan.org/authors/id/A/AD/ADAMK/Module-Install-1.06.tar.gz ... OK ==> Found dependencies: YAML::Tiny --> Working on YAML::Tiny Fetching http://www.cpan.org/authors/id/E/ET/ETHER/YAML-Tiny-1.56.tar.gz ... OK ==> Found dependencies: Module::Build::Tiny --> Working on Module::Build::Tiny Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.030.tar.gz ... OK ==> Found dependencies: TAP::Harness::Env, CPAN::Meta, ExtUtils::Helpers, ExtUtils::InstallPaths, TAP::Harness, JSON::PP, ExtUtils::Config --> Working on TAP::Harness::Env Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Test-Harness-3.30.tar.gz ... OK Configuring Test-Harness-3.30 ... OK Building Test-Harness-3.30 ... OK Successfully installed Test-Harness-3.30 --> Working on CPAN::Meta Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-2.133380.tar.gz ... OK Configuring CPAN-Meta-2.133380 ... OK ==> Found dependencies: List::Util, Parse::CPAN::Meta, version, CPAN::Meta::YAML, JSON::PP, CPAN::Meta::Requirements --> Working on List::Util Fetching http://www.cpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-1.35.tar.gz ... OK Configuring Scalar-List-Utils-1.35 ... OK Building Scalar-List-Utils-1.35 ... OK Successfully installed Scalar-List-Utils-1.35 (upgraded from 1.22) --> Working on Parse::CPAN::Meta Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Parse-CPAN-Meta-1.4409.tar.gz ... OK Configuring Parse-CPAN-Meta-1.4409 ... OK ==> Found dependencies: CPAN::Meta::YAML, JSON::PP --> Working on CPAN::Meta::YAML Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-YAML-0.010.tar.gz ... OK Configuring CPAN-Meta-YAML-0.010 ... OK Building CPAN-Meta-YAML-0.010 ... OK Successfully installed CPAN-Meta-YAML-0.010 --> Working on JSON::PP Fetching http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-PP-2.27203.tar.gz ... OK Configuring JSON-PP-2.27203 ... OK Building JSON-PP-2.27203 ... OK Successfully installed JSON-PP-2.27203 Building Parse-CPAN-Meta-1.4409 ... OK Successfully installed Parse-CPAN-Meta-1.4409 (upgraded from 1.40) --> Working on version Fetching http://www.cpan.org/authors/id/J/JP/JPEACOCK/version-0.9904.tar.gz ... OK Configuring version-0.9904 ... OK Building version-0.9904 ... OK Successfully installed version-0.9904 (upgraded from 0.82) --> Working on CPAN::Meta::Requirements Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/CPAN-Meta-Requirements-2.125.tar.gz ... OK Configuring CPAN-Meta-Requirements-2.125 ... OK Building CPAN-Meta-Requirements-2.125 ... OK Successfully installed CPAN-Meta-Requirements-2.125 Building CPAN-Meta-2.133380 ... OK Successfully installed CPAN-Meta-2.133380 --> Working on ExtUtils::Helpers Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.021.tar.gz ... OK Configuring ExtUtils-Helpers-0.021 ... OK Building ExtUtils-Helpers-0.021 ... OK Successfully installed ExtUtils-Helpers-0.021 --> Working on ExtUtils::InstallPaths Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.010.tar.gz ... OK Configuring ExtUtils-InstallPaths-0.010 ... OK ==> Found dependencies: ExtUtils::Config --> Working on ExtUtils::Config Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.007.tar.gz ... OK Configuring ExtUtils-Config-0.007 ... OK Building ExtUtils-Config-0.007 ... OK Successfully installed ExtUtils-Config-0.007 Building ExtUtils-InstallPaths-0.010 ... OK Successfully installed ExtUtils-InstallPaths-0.010 Configuring Module-Build-Tiny-0.030 ... OK Building Module-Build-Tiny-0.030 ... OK Successfully installed Module-Build-Tiny-0.030 Configuring YAML-Tiny-1.56 ... OK Building YAML-Tiny-1.56 ... OK Successfully installed YAML-Tiny-1.56 Configuring Module-Install-1.06 ... OK ==> Found dependencies: File::Remove, ExtUtils::MakeMaker, PAR::Dist, LWP::UserAgent, Module::ScanDeps, JSON --> Working on File::Remove Fetching http://www.cpan.org/authors/id/A/AD/ADAMK/File-Remove-1.52.tar.gz ... OK Configuring File-Remove-1.52 ... OK Building File-Remove-1.52 ... OK Successfully installed File-Remove-1.52 --> Working on ExtUtils::MakeMaker Fetching http://www.cpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-6.84.tar.gz ... OK Configuring ExtUtils-MakeMaker-6.84 ... OK Building ExtUtils-MakeMaker-6.84 ... OK Successfully installed ExtUtils-MakeMaker-6.84 (upgraded from 6.56) --> Working on PAR::Dist Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/PAR-Dist-0.49.tar.gz ... OK Configuring PAR-Dist-0.49 ... OK Building PAR-Dist-0.49 ... OK Successfully installed PAR-Dist-0.49 --> Working on LWP::UserAgent Fetching http://www.cpan.org/authors/id/G/GA/GAAS/libwww-perl-6.05.tar.gz ... OK Configuring libwww-perl-6.05 ... OK ==> Found dependencies: URI::Escape, LWP::MediaTypes, Encode::Locale, HTTP::Status, File::Listing, HTTP::Negotiate, HTML::Entities, HTTP::Daemon, Net::HTTP, URI, HTML::HeadParser, HTTP::Cookies, HTTP::Request::Common, HTTP::Date, HTTP::Response, HTTP::Request, WWW::RobotRules --> Working on URI::Escape Fetching http://www.cpan.org/authors/id/G/GA/GAAS/URI-1.60.tar.gz ... OK Configuring URI-1.60 ... OK Building URI-1.60 ... OK Successfully installed URI-1.60 --> Working on LWP::MediaTypes Fetching http://www.cpan.org/authors/id/G/GA/GAAS/LWP-MediaTypes-6.02.tar.gz ... OK Configuring LWP-MediaTypes-6.02 ... OK Building LWP-MediaTypes-6.02 ... OK Successfully installed LWP-MediaTypes-6.02 --> Working on Encode::Locale Fetching http://www.cpan.org/authors/id/G/GA/GAAS/Encode-Locale-1.03.tar.gz ... OK Configuring Encode-Locale-1.03 ... OK Building Encode-Locale-1.03 ... OK Successfully installed Encode-Locale-1.03 --> Working on HTTP::Status Fetching http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Message-6.06.tar.gz ... OK Configuring HTTP-Message-6.06 ... OK ==> Found dependencies: HTTP::Date, IO::HTML --> Working on HTTP::Date Fetching http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Date-6.02.tar.gz ... OK Configuring HTTP-Date-6.02 ... OK Building HTTP-Date-6.02 ... OK Successfully installed HTTP-Date-6.02 --> Working on IO::HTML Fetching http://www.cpan.org/authors/id/C/CJ/CJM/IO-HTML-1.00.tar.gz ... OK Configuring IO-HTML-1.00 ... OK Building IO-HTML-1.00 ... OK Successfully installed IO-HTML-1.00 Building HTTP-Message-6.06 ... OK Successfully installed HTTP-Message-6.06 --> Working on File::Listing Fetching http://www.cpan.org/authors/id/G/GA/GAAS/File-Listing-6.04.tar.gz ... OK Configuring File-Listing-6.04 ... OK Building File-Listing-6.04 ... OK Successfully installed File-Listing-6.04 --> Working on HTTP::Negotiate Fetching http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Negotiate-6.01.tar.gz ... OK Configuring HTTP-Negotiate-6.01 ... OK Building HTTP-Negotiate-6.01 ... OK Successfully installed HTTP-Negotiate-6.01 --> Working on HTML::Entities Fetching http://www.cpan.org/authors/id/G/GA/GAAS/HTML-Parser-3.71.tar.gz ... OK Configuring HTML-Parser-3.71 ... OK ==> Found dependencies: HTML::Tagset --> Working on HTML::Tagset Fetching http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-3.20.tar.gz ... OK Configuring HTML-Tagset-3.20 ... OK Building HTML-Tagset-3.20 ... OK Successfully installed HTML-Tagset-3.20 Building HTML-Parser-3.71 ... OK Successfully installed HTML-Parser-3.71 --> Working on HTTP::Daemon Fetching http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Daemon-6.01.tar.gz ... OK Configuring HTTP-Daemon-6.01 ... OK Building HTTP-Daemon-6.01 ... OK Successfully installed HTTP-Daemon-6.01 --> Working on Net::HTTP Fetching http://www.cpan.org/authors/id/G/GA/GAAS/Net-HTTP-6.06.tar.gz ... OK Configuring Net-HTTP-6.06 ... OK Building Net-HTTP-6.06 ... OK Successfully installed Net-HTTP-6.06 --> Working on HTTP::Cookies Fetching http://www.cpan.org/authors/id/G/GA/GAAS/HTTP-Cookies-6.01.tar.gz ... OK Configuring HTTP-Cookies-6.01 ... OK Building HTTP-Cookies-6.01 ... OK Successfully installed HTTP-Cookies-6.01 --> Working on WWW::RobotRules Fetching http://www.cpan.org/authors/id/G/GA/GAAS/WWW-RobotRules-6.02.tar.gz ... OK Configuring WWW-RobotRules-6.02 ... OK Building WWW-RobotRules-6.02 ... OK Successfully installed WWW-RobotRules-6.02 Building libwww-perl-6.05 ... OK Successfully installed libwww-perl-6.05 --> Working on Module::ScanDeps Fetching http://www.cpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-1.12.tar.gz ... OK Configuring Module-ScanDeps-1.12 ... OK ==> Found dependencies: Test::Requires --> Working on Test::Requires Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-Requires-0.07.tar.gz ... OK ==> Found dependencies: Module::Build --> Working on Module::Build Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-0.4203.tar.gz ... OK Configuring Module-Build-0.4203 ... OK ==> Found dependencies: Module::Metadata, Perl::OSType --> Working on Module::Metadata Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Module-Metadata-1.000019.tar.gz ... OK Configuring Module-Metadata-1.000019 ... OK Building Module-Metadata-1.000019 ... OK Successfully installed Module-Metadata-1.000019 --> Working on Perl::OSType Fetching http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Perl-OSType-1.006.tar.gz ... OK Configuring Perl-OSType-1.006 ... OK Building Perl-OSType-1.006 ... OK Successfully installed Perl-OSType-1.006 Building Module-Build-0.4203 ... OK Successfully installed Module-Build-0.4203 (upgraded from 0.3603) Configuring Test-Requires-0.07 ... OK Building Test-Requires-0.07 ... OK Successfully installed Test-Requires-0.07 Building Module-ScanDeps-1.12 ... OK Successfully installed Module-ScanDeps-1.12 --> Working on JSON Fetching http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-2.90.tar.gz ... OK Configuring JSON-2.90 ... OK Building JSON-2.90 ... OK Successfully installed JSON-2.90 Building Module-Install-1.06 ... OK Successfully installed Module-Install-1.06 38 distributions installed --> Working on . Configuring /usr/local/fluent-agent-lite-v1.0 ... OK ==> Found dependencies: Log::Minimal, JSON::XS, Data::MessagePack --> Working on Log::Minimal Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/Log-Minimal-0.16.tar.gz ... OK Configuring Log-Minimal-0.16 ... OK Building Log-Minimal-0.16 ... OK Successfully installed Log-Minimal-0.16 --> Working on JSON::XS Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-3.01.tar.gz ... OK Configuring JSON-XS-3.01 ... OK ==> Found dependencies: Types::Serialiser, common::sense --> Working on Types::Serialiser Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/Types-Serialiser-1.0.tar.gz ... OK Configuring Types-Serialiser-1.0 ... OK ==> Found dependencies: common::sense --> Working on common::sense Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/common-sense-3.72.tar.gz ... OK Configuring common-sense-3.72 ... OK Building common-sense-3.72 ... OK Successfully installed common-sense-3.72 Building Types-Serialiser-1.0 ... OK Successfully installed Types-Serialiser-1.0 Building JSON-XS-3.01 ... OK Successfully installed JSON-XS-3.01 --> Working on Data::MessagePack Fetching http://www.cpan.org/authors/id/G/GF/GFUJI/Data-MessagePack-0.48.tar.gz ... OK Configuring Data-MessagePack-0.48 ... OK Building Data-MessagePack-0.48 ... OK Successfully installed Data-MessagePack-0.48 <== Installed dependencies for .. Finishing. 5 distributions installed
●fluent-agent-lite.confサンプル
# fluentd tag prefix of all LOGS TAG_PREFIX="" # fluentd message log attribute name (default: message) # FIELD_NAME="message" ### LOGS: tag /path/to/log/file # # LOGS=$(cat <<"EOF" # apache2 /var/log/apache2/access.log # # yourservice /var/log/yourservice/access.log # EOF # ) LOGS=$(cat <<"EOF" syslog /var/adm/messages EOF ) ### or, read from external file # LOGS=$(cat /etc/fluent-agent.logs) # SERVERNAME[:PORTNUM] # port number is optional (default: 24224) PRIMARY_SERVER="primary.fluentd.local:24224" ### or, PRIMARY SERVER LIST FILE of servers # PRIMARY_SERVERS_LIST="/etc/fluent-agent.servers.primary" # secondary server setting is optional... # SECONDARY_SERVER="secondary.fluentd.local:24224" # SECONDARY_SERVERS_LIST is available as like as PRIMARY_SERVERS_LIST # max bytes to try read as one action from tail (default: 1MB) # READ_BUFFER_SIZE=1048576 # PROCESS_NICE default: 0 # PROCESS_NICE=-1 # TAIL_INTERVAL=0.1 # TAIL_PATH=/usr/bin/tail TAIL_PATH=/usr/local/fluent-agent-lite-v1.0/bin/tail # Tag , data and interval of ping message (not to output ping message when tag not specified) # PING_TAG=ping # PING_DATA=`hostname` # PING_INTERVAL=60 # Tag name of 'drain_log' (none: not to output drain_log) # DRAIN_LOG_TAG= # connection keepalive time in seconds. 0 means infinity (DEFAULT: 1800) # KEEPALIVE_TIME=1800 # LOG_PATH=/tmp/fluent-agent.log LOG_PATH=/usr/local/fluent-agent-lite-v1.0/fluent-agent.log # LOG_VERBOSE=false # PERL_PATH=/usr/bin/perl PERL_PATH=/usr/local/fluent-agent-lite-v1.0/bin/perl