No commit activity in last 3 years
No release in over 3 years
Pcapng Files input plugin for Embulk
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.0
>= 10.0
 Project Readme

Pcapng Files input plugin for Embulk

embulk plugin for pcapng files input.

Obsoletes enukane/embulk-plugin-input-pcapng-files

Overview

  • Plugin type: input
  • Load all or nothing: yes
  • Resume supported: no

Configuration

Original options

name type required? default description
paths array required [] paths where pcapng files exist (no recursive searching
convertdot string optional nil convert "." in field name (for outputing into DB who doesn't accept "dot" in schema)
use_basename bool optional false use basename (w/o ext) as "path" value
schema array of field hash required nil list of field to extract from pcapng file
field hash hash ({name, type}) required nil "name" matches field name for tshakr (-e), "type" should be "long", "double", "string", "timestamp"

Example

in:
  type: pcapng_files
  paths: [ /Users/enukane/Desktop/emtestpcap/ ]
  convertdot: "__"
  threads: 2
  schema:
    - { name: frame.number,                 type: long }
    - { name: frame.time_epoch,             type: timestamp }
    - { name: frame.len,                    type: long }
    - { name: wlan_mgt.ssid,                type: string }

Build

$ rake