#log-parser #log-format #access #logs #parser #data-access #log-entries

access_log_parser

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

8 breaking releases

0.9.0 Jul 5, 2024
0.8.0 Dec 22, 2022
0.7.0 Feb 11, 2022
0.6.0 Apr 11, 2021
0.3.0 Apr 19, 2019

#654 in Parser implementations

Download history 17/week @ 2024-07-09 5/week @ 2024-07-16 22/week @ 2024-07-23 5/week @ 2024-07-30 6/week @ 2024-08-06 5/week @ 2024-08-13 3/week @ 2024-08-27 16/week @ 2024-09-03 13/week @ 2024-09-10 10/week @ 2024-09-17 28/week @ 2024-09-24 16/week @ 2024-10-01 32/week @ 2024-10-08 34/week @ 2024-10-15 1/week @ 2024-10-22

84 downloads per month
Used in trillium-logger

Apache-2.0

85KB
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.7–9MB
~70K SLoC