{
  "description": "Parse an access log and show it in the terminal, or write a JSON, CSV or HTML report. Panels, GeoIP, real-time WebSocket options and persistence are left out.",
  "options": [
    {
      "names": [
        "--log-file",
        "-f"
      ],
      "description": "Access log to parse. Leave empty to read from standard input.",
      "args": {
        "name": "log_file",
        "description": "Access log to parse. Leave empty to read from standard input.",
        "isOptional": false,
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--log-format"
      ],
      "description": "A predefined name such as COMBINED, or a custom format string.",
      "args": {
        "name": "log_format",
        "description": "A predefined name such as COMBINED, or a custom format string.",
        "isOptional": false,
        "suggestions": [
          {
            "name": "COMBINED",
            "description": "Combined"
          },
          {
            "name": "COMMON",
            "description": "Common"
          },
          {
            "name": "VCOMBINED",
            "description": "Virtual host combined"
          }
        ]
      }
    },
    {
      "names": [
        "--date-format"
      ],
      "description": "Date format",
      "args": {
        "name": "date_format",
        "isOptional": false
      }
    },
    {
      "names": [
        "--time-format"
      ],
      "description": "Time format",
      "args": {
        "name": "time_format",
        "isOptional": false
      }
    },
    {
      "names": [
        "--output",
        "-o"
      ],
      "description": "Report to write; the extension (.html, .json, .csv) picks the format.",
      "args": {
        "name": "output",
        "description": "Report to write; the extension (.html, .json, .csv) picks the format.",
        "isOptional": false,
        "template": "filepaths"
      },
      "isDangerous": true
    },
    {
      "names": [
        "--exclude-ip",
        "-e"
      ],
      "description": "Exclude IP or range",
      "args": {
        "name": "exclude_ip",
        "isOptional": false,
        "isVariadic": true
      },
      "isRepeatable": true
    },
    {
      "names": [
        "--ignore-crawlers"
      ],
      "description": "Ignore crawlers"
    },
    {
      "names": [
        "--no-query-string",
        "-q"
      ],
      "description": "Strip query strings"
    },
    {
      "names": [
        "--anonymize-ip"
      ],
      "description": "Anonymize IPs"
    },
    {
      "names": [
        "--html-report-title"
      ],
      "description": "HTML report title",
      "args": {
        "name": "report_title",
        "isOptional": false
      }
    },
    {
      "names": [
        "--real-time-html"
      ],
      "description": "Serve the HTML report live over WebSocket."
    },
    {
      "names": [
        "--tz"
      ],
      "description": "Timezone",
      "args": {
        "name": "tz",
        "isOptional": false
      }
    }
  ],
  "name": "goaccess"
}
