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

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

RemoteControlSocket: '/var/run/aminer-remote.socket'

Core.PersistenceDir: '/tmp/lib/aminer'

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

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

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

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

        - type: NewMatchPathValueComboDetector
          id: NewMatchPathValueComboDetector1
          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
          id: NewMatchPathValueComboDetector2
          paths: ["/model/accesslog/request","/model/accesslog/status"]
          learn_mode: True

        - type: EventTypeDetector
          id: EventTypeDetector
          min_num_vals: 100
          max_num_vals: 200
          learn_mode: False
          output_event_handlers:
            - stpe

EventHandlers:
        - id: stpe
          type: StreamPrinterEventHandler
          output_file_path: '/tmp/streamPrinter.txt'

        - id: syslog
          type: SyslogWriterEventHandler
