# This schema is invalid, because of the Some_Weird_Option key.

Some_Weird_Option: "test"

AminerUser: 'aminer'  # optional default: aminer
AminerGroup: 'aminer' # optional default: aminer

LogResourceList:
        - 'file:///var/log/apache2/access.log'

Parser:
        - id: 'apacheModel'
          type: ApacheAccessModel
          name: 'apache'
          args: 'apache'

        - id: 'START'
          type: SequenceModelElement
          name: 'model'
          args: apacheModel

Input:
        multi_source: False # optional
        timestamp_paths: "/model/accesslog/time"

Analysis:
        - type: NewMatchPathValueDetector
          paths: ["/model/accesslog/status"]
          persistence_id: 'accesslog_status' # optional default: Default
          output_logline: False
          learn_mode: True

        - type: NewMatchPathValueComboDetector
          paths: ["/model/accesslog/request","/model/accesslog/method"]
          learn_mode: True
          persistence_id: 'accesslog_request' # optional default: Default
          output_logline: False
          allow_missing_values: False # optional default: False

        - type: NewMatchPathValueComboDetector
          paths: ["/model/accesslog/request","/model/accesslog/status"]
          learn_mode: True

EventHandlers:
        - id: stpe
          json: True # optional default: False
          type: StreamPrinterEventHandler

        - id: syslog
          type: SyslogWriterEventHandler
