Skip to content

Plain text support for seqcli ingest#19

Merged
nblumhardt merged 25 commits into
devfrom
feat/plain
Feb 28, 2018
Merged

Plain text support for seqcli ingest#19
nblumhardt merged 25 commits into
devfrom
feat/plain

Conversation

@nblumhardt

@nblumhardt nblumhardt commented Feb 21, 2018

Copy link
Copy Markdown
Member
  • Multi-line STDIN frame reader
  • seqcli ingest plain text by default (opt-in to JSON with --json)
  • By default, all non-empty lines read will be timestamped and emitted as events
    • Any trailing lines indented with whitespace will be treated as continuations
  • Apply patterns to input frames
  • Unmatched (remainder) text is attached in a "remainder" event property
  • Plain text files can be ingested using -i <filename>
  • Extend --invalid-data= to include report as an option, so that "orphan"/un-parseable lines can be captured
  • Pattern language for token matching, e.g. --pattern="[{@t:iso8601ts} {@l}] ({SourceContext}) {@m:*}{:n}{@x:lines}"
  • --test flag that prints JSON to STDOUT instead of sending events to Seq (could perhaps be called something like --echo?)
  • List the built-in matchers in the README
  • Sanity check the (future) story for optional ({:?), parameterized (digit(4)) and regex matchers

@nblumhardt

Copy link
Copy Markdown
Member Author

I've moved the remaining TODOs to #29 - once #28 is in I think we should merge this as a decent first cut.

@nblumhardt nblumhardt merged commit 750d1b7 into dev Feb 28, 2018
@nblumhardt nblumhardt mentioned this pull request Mar 4, 2018
@nblumhardt nblumhardt deleted the feat/plain branch April 11, 2019 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant