GithubHelp home page GithubHelp logo

datalust / seq-app-jsonarchive Goto Github PK

View Code? Open in Web Editor NEW
8.0 6.0 3.0 1.5 MB

Record events to a set of newline-delimited JSON streams

License: Apache License 2.0

PowerShell 13.27% Rust 86.73%
seq seq-app

seq-app-jsonarchive's Introduction

Seq JSON Archive App Build status NuGet Pre Release

Record events from Seq to a set of newline-delimited JSON files. The format is lossless, preserving all of the event's properties along with its internal Seq-generated event id and type.

Installing the app

Instructions for installation can be found in the Seq documentation.

The package id of this package is Seq.App.JsonArchive.

Reading archived events

Events in the newline-delimited JSON files can be imported into Seq using seqcli ingest --json -i <glob>.

Along with regular JSON parsers, the JSON-formatted events written into the archive files can be transformed into Serilog events using Serilog.Formatting.Compact.Reader.

seq-app-jsonarchive's People

Contributors

kodraus avatar liammclennan avatar nblumhardt avatar seankilleen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

seq-app-jsonarchive's Issues

Encode UTC dates/times in place of Unix timestamps in filenames

The JSON archive files produced by this app are currently numbered using their creation time in seconds-since-epoch:

image

This makes it awkward to home in on a set of files likely to contain a particular event timestamp range by eye.

The current timestamp format was chosen because the colon : that appears in ISO-8601 date/time formatting is not allowed in filenames on Windows. This ticket proposes that we introduce a new formatting option "Format filenames with human-readable dates/times", which would produce filenames using ISO-8601 full formatting, but without :, resembling:

logs-2022-04-30T075301Z.json

(Changing the default formatting will be likely to break existing log shipping schemes, hence this isn't proposed as a new default.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.