目次

Add Fluentd on MA-E3xx bionic firmware


Files

Firmware

File Stat SHA1SUM Note
mae3xx_bionic_iot_v4_4_1.img2020/07/06 22:44 80.5 MBf3891504bf5ba34719901ed5da215e1458efed54Fluentd v1.11.1


rootfs

File Stat SHA1SUM Note
mae3xx_rootfs_bionic_iot_v4_4_1.tar.xz2020/07/06 22:44 66.0 MB29a73a66de0dc8198abc1e782c9e65180c902395


Packages

File Stat SHA1SUM Note
ruby-cool.io_1.6.0-1_armhf.deb2020/07/06 22:44 38.4 KB34f973378040aed3e4490e77787e227ab2557f45
ruby-fluentd_1.11.1-1_all.deb2020/07/06 22:44 200.3 KB0cde25182f09de370d6976894cd5510eea794cc0fluentd 1.11.1
ruby-http-parser.rb_0.6.0-1_armhf.deb2020/07/06 22:44 14.5 KB2d2a8d42dc2eab9854b61a0165ff8b7958a25155
ruby-msgpack_1.3.3-1_armhf.deb2020/07/06 22:44 29.9 KB306a0279c85ecfe34a5dc57f619a6d11cbbc8a8e
ruby-serverengine_2.2.1-1_all.deb2020/07/06 22:44 22.3 KB536a23e4ca638ced8373703271fb7def493f0f13
ruby-sigdump_0.2.4-1_all.deb2020/07/06 22:44 6.0 KB27cf4e42e7086c7016906f9fb65af982e38aaeac
ruby-strptime_0.2.4-1_armhf.deb2020/07/06 22:44 12.2 KB3d362c9ff46032fa2e3f3e175f8d98a391d372a4
ruby-tzinfo-data_1.2020.1-1_all.deb2020/07/06 22:44 138.7 KBdc3aa01e3ad657709e9f9a67cc0171861018d79b
ruby-tzinfo_2.0.2-1_all.deb2020/07/06 22:44 47.4 KB764250a4bbb88d63e93a3bd8d7cf84fe20ca1a07
ruby-yajl_1.4.1-1_armhf.deb2020/07/06 22:44 35.9 KBcbb6e12b64a4f98730ec9a6f6047eb9317d95725
fluentd-1.10.4-pkgs.zip2020/07/28 10:08 746.1 KB29ffdfd49eb787eb7308da9259af297108b40849fluentd-1.10.4
ruby-dig_0.0.2-1_all.deb2020/07/28 10:27 3.4 KBbf11097ee237350a1b949d78bc5ab8d4a4608a93
ruby-fluentd_0.14.25-1_all.deb2020/07/28 10:27 156.6 KBbf9bd47a95d49d5b9be98b7906b54c97c4ac0133fluentd-0.14.25
ruby-dig-rb_1.0.1-1_all.deb2020/08/02 19:54 5.0 KB1e913a72246a3e71b738bbd13c5db9643c4aadbefluentd-1.6.x 依存
ruby-fluentd_1.6.0-1_all.deb2020/08/02 19:54 177.3 KB59ebf3a4f30e9feb50f17ed1ede35bdf7b37658afluentd-1.6.0
ruby-fluentd_1.6.3-1_all.deb2020/08/02 19:54 177.9 KB0999a914a4f1fca6ea2721e764201290414195c3fluentd-1.6.3
ruby-fluentd_1.11.1-1mae3xx-1_all.deb2020/08/02 19:54 200.3 KBb66843adbdba1a6376ffdce2cebae23349014db9buffer plugin 修正版
ruby-fluentd_1.11.2-1_all.deb2020/08/06 09:27 200.9 KBdfed93af5b75e1d584158c7a1f10c2146dec53bbfluentd 1.11.2


Test

root@plum:/etc/fluent# fluentd -c /etc/fluent/fluent.conf 
2020-07-06 20:48:08 +0900 [info]: parsing config file is succeeded path="/etc/fluent/fluent.conf"
2020-07-06 20:48:08 +0900 [info]: gem 'fluentd' version '1.11.1'
2020-07-06 20:48:08 +0900 [warn]: 'type' is deprecated parameter name. use '@type' instead.
2020-07-06 20:48:08 +0900 [warn]: 'type' is deprecated parameter name. use '@type' instead.
2020-07-06 20:48:08 +0900 [info]: using configuration file: <ROOT>
  <source>
    type forward
  </source>
  <match debug.*>
    type file
    path "/tmp/fluent_debug.txt"
    <buffer time>
      path "/tmp/fluent_debug.txt"
    </buffer>
  </match>
</ROOT>
2020-07-06 20:48:08 +0900 [info]: starting fluentd-1.11.1 pid=1542 ruby="2.5.1"
2020-07-06 20:48:09 +0900 [info]: spawn command to main:  cmdline=["/usr/bin/ruby2.5", "-Eascii-8bit:ascii-8bit", "/usr/bin/fluentd", "-c", "/etc/fluent/fluent.conf", "--under-supervisor"]
2020-07-06 20:48:13 +0900 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2020-07-06 20:48:13 +0900 [info]: adding match pattern="debug.*" type="file"
2020-07-06 20:48:13 +0900 [warn]: #0 'type' is deprecated parameter name. use '@type' instead.
2020-07-06 20:48:13 +0900 [info]: adding source type="forward"
2020-07-06 20:48:13 +0900 [info]: #0 starting fluentd worker pid=1551 ppid=1542 worker=0
2020-07-06 20:48:13 +0900 [info]: #0 listening port port=24224 bind="0.0.0.0"
2020-07-06 20:48:13 +0900 [info]: #0 fluentd worker is now running worker=0
^C2020-07-06 20:48:37 +0900 [info]: Received graceful stop
2020-07-06 20:48:38 +0900 [info]: #0 fluentd worker is now stopping worker=0
2020-07-06 20:48:38 +0900 [info]: #0 shutting down fluentd worker worker=0
2020-07-06 20:48:38 +0900 [info]: #0 shutting down input plugin type=:forward plugin_id="object:1288ef0"
2020-07-06 20:48:38 +0900 [info]: #0 shutting down output plugin type=:file plugin_id="object:109af04"
2020-07-06 20:48:39 +0900 [info]: Worker 0 finished with status 0
root@plum:~# echo '{"key" : "value"}' | fluent-cat debug.test
root@plum:~# cat /tmp/fluent_debug.txt/buffer.b5a9c4738f597488ed4d4450559b17a02.log
2020-07-06T20:48:21+09:00	debug.test	{"key":"value"}