#access #logs #parse #logging

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

#1898 in Parser implementations

Download history 71/week @ 2023-11-20 14/week @ 2023-11-27 4/week @ 2023-12-04 73/week @ 2023-12-11 147/week @ 2023-12-18 172/week @ 2023-12-25 149/week @ 2024-01-01 21/week @ 2024-01-08 99/week @ 2024-01-15 44/week @ 2024-01-22 44/week @ 2024-01-29 213/week @ 2024-02-05 26/week @ 2024-02-12 31/week @ 2024-02-19 33/week @ 2024-02-26 6/week @ 2024-03-04

96 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.6–10MB
~69K SLoC