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

access_log_parser

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

9 breaking releases

0.11.0 Jan 27, 2025
0.9.0 Jul 5, 2024
0.8.0 Dec 22, 2022
0.7.0 Feb 11, 2022
0.3.0 Apr 19, 2019

#572 in Parser implementations

Download history 13/week @ 2024-11-15 12/week @ 2024-11-22 2/week @ 2024-11-29 40/week @ 2024-12-06 28/week @ 2024-12-13 1/week @ 2024-12-20 1/week @ 2025-01-03 9/week @ 2025-01-10 9/week @ 2025-01-17 124/week @ 2025-01-24 50/week @ 2025-01-31 15/week @ 2025-02-07 13/week @ 2025-02-14 30/week @ 2025-02-21 92/week @ 2025-02-28

156 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.10"

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.6–8MB
~67K SLoC