github.com/crowdsecurity/crowdsec@v1.6.1/config/config.yaml (about)

     1  common:
     2    daemonize: true
     3    log_media: file
     4    log_level: info
     5    log_dir: /var/log/
     6    log_max_size: 20
     7    compress_logs: true
     8    log_max_files: 10
     9  config_paths:
    10    config_dir: /etc/crowdsec/
    11    data_dir: /var/lib/crowdsec/data/
    12    simulation_path: /etc/crowdsec/simulation.yaml
    13    hub_dir: /etc/crowdsec/hub/
    14    index_path: /etc/crowdsec/hub/.index.json
    15    notification_dir: /etc/crowdsec/notifications/
    16    plugin_dir: /usr/local/lib/crowdsec/plugins/
    17  crowdsec_service:
    18    #console_context_path: /etc/crowdsec/console/context.yaml
    19    acquisition_path: /etc/crowdsec/acquis.yaml
    20    acquisition_dir: /etc/crowdsec/acquis.d
    21    parser_routines: 1
    22  cscli:
    23    output: human
    24    color: auto
    25  db_config:
    26    log_level: info
    27    type: sqlite
    28    db_path: /var/lib/crowdsec/data/crowdsec.db
    29    #max_open_conns: 100
    30    #user: 
    31    #password:
    32    #db_name:
    33    #host:
    34    #port:
    35    flush:
    36      max_items: 5000
    37      max_age: 7d
    38  plugin_config:
    39    user: nobody # plugin process would be ran on behalf of this user
    40    group: nogroup # plugin process would be ran on behalf of this group
    41  api:
    42    client:
    43      insecure_skip_verify: false
    44      credentials_path: /etc/crowdsec/local_api_credentials.yaml
    45    server:
    46      log_level: info
    47      listen_uri: 127.0.0.1:8080
    48      profiles_path: /etc/crowdsec/profiles.yaml
    49      console_path: /etc/crowdsec/console.yaml
    50      online_client: # Central API credentials (to push signals and receive bad IPs)
    51        credentials_path: /etc/crowdsec/online_api_credentials.yaml
    52      trusted_ips: # IP ranges, or IPs which can have admin API access
    53        - 127.0.0.1
    54        - ::1
    55  #    tls:
    56  #      cert_file: /etc/crowdsec/ssl/cert.pem
    57  #      key_file: /etc/crowdsec/ssl/key.pem
    58  prometheus:
    59    enabled: true
    60    level: full
    61    listen_addr: 127.0.0.1
    62    listen_port: 6060