#access #logs #parse

access_log_parser

A library of Rust parsers for reading access logs in a strongly-typed way

8 releases (breaking)

0.8.0 Dec 22, 2022
0.7.0 Feb 11, 2022
0.6.0 Apr 11, 2021
0.5.0 Aug 4, 2020
0.1.0 Apr 17, 2019

#485 in Parser implementations

Download history 34/week @ 2023-02-10 51/week @ 2023-02-17 17/week @ 2023-02-24 17/week @ 2023-03-03 14/week @ 2023-03-10 120/week @ 2023-03-17 141/week @ 2023-03-24 80/week @ 2023-03-31 71/week @ 2023-04-07 61/week @ 2023-04-14 180/week @ 2023-04-21 71/week @ 2023-04-28 66/week @ 2023-05-05 48/week @ 2023-05-12 40/week @ 2023-05-19 41/week @ 2023-05-26

197 downloads per month
Used in trillium-logger

Apache-2.0

84KB
2K SLoC

Access Log Parser

This is a pure Rust library for parsing access log entries. It currently support common, combined, Cloud Controller Nginx and Gorouter log formats.

Usage

Add the following to your Cargo.toml:

[dependencies]
access_log_parser = "0.8"

See examples/ for example code.

Features

  • Read access log entries, parse them to Rust structs and process the data in your programs
  • Supported log formats:
    • Common
    • Combined
    • Cloud Controller Nginx
    • Gorouter

License

This software is released under version 2.0 of the Apache License.

Dependencies

~2–29MB
~475K SLoC