github.com/mackerelio/mackerel-agent-plugins@v0.89.3/mackerel-plugin-accesslog/README.md (about)

     1  mackerel-plugin-accesslog
     2  =====================
     3  
     4  accesslog custom metrics plugin for mackerel.io agent.
     5  
     6  Apache log format (common and combined) and LTSV log format are supported.
     7  
     8  ## Synopsis
     9  
    10  ```shell
    11  mackerel-plugin-accesslog /path/to/access.log
    12  ```
    13  
    14  ## Example of mackerel-agent.conf
    15  
    16  ```
    17  [plugin.metrics.accesslog]
    18  command = "/path/to/mackerel-plugin-accesslog /path/to/access.log"
    19  ```
    20  
    21  ## Screenshot
    22  
    23  ![graphs-screenshot](https://user-images.githubusercontent.com/177122/27474076-22f7defc-583c-11e7-84ee-1679e5164358.png)
    24  
    25  ## Graphs and Metrics
    26  
    27  ### accesslog.access_num
    28  
    29  - accesslog.access_num.total_count
    30  - accesslog.access_num.2xx_count
    31  - accesslog.access_num.3xx_count
    32  - accesslog.access_num.4xx_count
    33  - accesslog.access_num.5xx_count
    34  
    35  ### accesslog.access_rate
    36  
    37  - accesslog.access_rate.2xx_percentage
    38  - accesslog.access_rate.3xx_percentage
    39  - accesslog.access_rate.4xx_percentage
    40  - accesslog.access_rate.5xx_percentage
    41  
    42  ## accesslog.latency
    43  
    44  Latency (Available only with LTSV format)
    45  
    46  - accesslog.average
    47  - accesslog.90_percentile
    48  - accesslog.95_percentile
    49  - accesslog.99_percentile