Skip to content
This repository was archived by the owner on May 24, 2020. It is now read-only.

browscap/http-access-log-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f263af3 · Dec 29, 2017

History

10 Commits
Dec 29, 2017
Dec 28, 2017
Dec 28, 2017
Dec 29, 2017
Dec 29, 2017
Dec 28, 2017
Dec 28, 2017
Dec 28, 2017
Dec 28, 2017
Dec 28, 2017
Dec 29, 2017
Dec 29, 2017
Dec 29, 2017
Dec 28, 2017
Dec 28, 2017
Dec 29, 2017

Repository files navigation

Browser Capabilities PHP Project - Logfile reader

This is a log file reader for apache log files to parse useragents.

Build Status

Installation

Run the command below to install via Composer

composer require browscap/http-access-log-parser 

the CLI Log command

The log command parses a single access log file or a directory with access log files and writes the results into an output file.

vendor/bin/log-parser browscap:log

options

  • output (required) the path to a log file where the results are stored
  • cache (optional) the relative path to your cache directory
  • log-file (optional) the relative path to an access log file
  • log-dir (optional) the relative path to directory with the log files
  • include (optional) a glob compatible list of files which should be included, only used in comination with the log-dir option
  • exclude (optional) a glob compatible list of files which should be excluded from parsing, only used in comination with the log-dir option

NOTE: One of both options log-file and log-dir is required. NOTE: At the moment only Apache access logs are supported.

Issues and feature requests

Please report your issues and ask for new features on the GitHub Issue Tracker at https://github.com/browscap/browscap-file-reader/issues

Please report incorrectly identified User Agents and browser detect in the browscap.ini file here: https://github.com/browscap/browscap/issues

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages