immuparser

command module
v0.0.0-...-5b02c1f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

immuparser

Compile with:

go build main.go

Usage

./main --help
Parse a file with following format:
2020-05-21 20:02:00 73.115.58.89:50800 Wine

Usage:
  immuparser [flags]

Examples:

main --ledger myledger
main --ledger myledger --flushSize 1000
main --ledger myledger --flushSize 1000 --source /tmp/log.txt


Flags:
      --config string   config file (default is $HOME/.immuparser.yaml)
  -f, --flushSize int   flush size (default 1000)
  -h, --help            help for immuparser
  -l, --ledger string   ledger name (default "default")
  -s, --source string   source file path (default "/tmp/log.txt")

Launch command with

./main --ledger {ledgername} --flushSize {flush size} --source {file path}

Example:

./main --ledger myledger444 --flushSize 1000 --source ./log.txt

Documentation

Overview

Copyright © 2020 NAME HERE <EMAIL ADDRESS>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL