Permalink
Commits on Sep 21, 2015
  1. fluent-bit: set signal handlers

    hasegaw authored and edsiper committed Sep 3, 2015
    Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
  2. in_serial: Restore termios before exiting.

    hasegaw authored and edsiper committed Sep 2, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  3. in_stdin: Add a time field to each record if it does not exist.

    hasegaw authored and edsiper committed Sep 3, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
Commits on Sep 3, 2015
  1. fluent-bit: set signal handlers

    hasegaw authored and edsiper committed Sep 3, 2015
    Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
  2. in_serial: Restore termios before exiting.

    hasegaw committed Sep 2, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  3. in_stdin: Add a time field to each record if it does not exist.

    hasegaw committed Sep 3, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
Commits on Jul 22, 2015
  1. in_xbee: several warning/styling cleanups

    hasegaw committed Jul 19, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  2. in_xbee: Fixed callback handler bug introduced in commit 3068ebe

    hasegaw committed Jul 19, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  3. in_xbee: added source address data to XBee I/O sampling data

    hasegaw committed Jul 19, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  4. in_xbee: Refactored IO sampling implementaion

    hasegaw committed Jul 19, 2015
    - Splited IO sampling subroutines to in_xbee_iosampling.[ch]
    - Introduced available ioports lists to implement XBee API more accurately
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  5. in_xbee: Periodic I/O sampling support

    hasegaw committed Jul 2, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  6. in_xbee: removed in_xbee_collect()

    hasegaw committed Jul 2, 2015
    As of today, in_xbee_collect() is not used.
    
    Signed-off-by: Takeshi HASEGAWWA <hasegaw@gmail.com>
  7. in_xbee: Fixed deadlock in caused by in_xbee_flush()

    hasegaw committed Jul 2, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  8. in_serial: Updated collect procedures

    hasegaw committed Jul 22, 2015
    - Open the device with O_NONBLOCK
    - Queue all available lines in each event handler call
    - Eliminated unnecessary data validation (for in_seral) that inherited from in_kmsg plugin
    - Changed line buffer size from 2024 to 1024
    
    Tested on MacOS X, and Raspbian
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  9. in_serial: Use timer-based event handler for non-Linux operating systems

    hasegaw committed Jul 22, 2015
    Use timer-based event for non-Linux operating systems,
    since file descriptior based event handler didn't work on MacOS X.
    Tested on MacOS X Yosetmite, and Raspbian.
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  10. in_serial: Fixed tcsetattr() failure on specific operating system

    hasegaw committed Jul 22, 2015
    Resolved tcsetattr() failure on Mac OS X.
    Tested on MacOS X Yostmite, and Respbian.
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  11. in_serial: Don't save original termios

    hasegaw committed Jul 19, 2015
    Most of operating systems, expecting Linux,  will restore termios
    if the process is terminated.
    
    The line was intended for keeping original termios before process
    shutdown, but we don't have a chance (callback) to recover it yet,
    therefore it is a useless.
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  12. in_serial: No longer validates bitrate parameter

    hasegaw committed Jul 19, 2015
    termios.h in some operating systems actually don't have Bxxxxxx symbols
    for higher bitrates. This change allows use of those.
    Eventually we'd like to re-introduce better input validation mechanism.
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
Commits on Jul 2, 2015
  1. in_xbee: Support another payload format

    hasegaw committed Jul 2, 2015
    in_xbee now recoginize [ time, { key => val, ... } ] format.
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  2. in_xbee: Improvements in payload queuing

    hasegaw committed Jul 2, 2015
    - Omit extra bytes when queuing a MessagePack payload
    - Accepts and queues multiple MessagePack payloads in a XBee packet
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  3. in_xbee: Several improvements and bugfixes

    hasegaw committed Jul 2, 2015
    - Introduced new parameters: XBeeMode("xbeeZB"), XBeeCatchAll(1), XBeeDisableAck(1)
    - Cleaned initialization process.
    - Added mutex lock to protect MessagePack buffers
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
Commits on Jun 30, 2015
  1. in_xbee: MessagePack payload support

    hasegaw committed Jun 30, 2015
    This change brings in_xbee the ability to receive MessagePack seralized payloads.
    Note that this commit will break original in_xbee functionality.
    
    - MessagePack payload support
    - Now this input Catches all packets (like ethernet promiscuous mode)
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  2. in_xbee: Read parameters from configuration file

    hasegaw committed Jun 30, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
Commits on Jun 24, 2015
  1. in_serial: followed output format change

    hasegaw committed Jun 24, 2015
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  2. in_serial: initial cut

    hasegaw committed Jun 24, 2015
    Added in_serial plugin (serial port input), that allows
    logging text messages come from UART.
    Tested on Raspbian and RPi 2.
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  3. flb_input: Defer initialzation of input modules

    hasegaw committed Jun 24, 2015
    Input plug-ins were initialized before .conf file is processed. This change defers the initialization process until configuration file parsed, and allows input plugins referring values from configuration.
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
Commits on Jun 9, 2015
  1. plugins/in_mem: no longer flushes empty buffer

    hasegaw committed Jun 9, 2015
    plugins/in_kmsg: no longer flushes empty buffer
    plugins/in_cpu: no longer flushes empty buffer
    
    This changes avoid allocating and flushing unnecessary empty
    buffers (size == 0). These also surpress error messages when
    no updates in flush interval(typically every 5 seconds).
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>
  2. Doc: corrected cmake parameter -DWITH_IN_XBEE <- -DWITH_XBEE

    hasegaw committed Jun 9, 2015
    Doc: Miscellaneous layout fixes
    
    Signed-off-by: Takeshi HASEGAWA <hasegaw@gmail.com>