{%- if grains.role in ['so-sensor', 'so-heavynode'] -%}
  {%- set mainint = salt['pillar.get']('host:mainint') %}
  {%- set ip = salt['grains.get']('ip_interfaces:' ~ mainint)[0] %}
{%- else %}
  {%- set ip = salt['pillar.get']('global:managerip') %}
{%- endif -%}
conn:
  server: '{{ ip }}:57314'
  cert: ''
  timeout:
    dial: 5s
    file: 1m
throughput:
  concurrency: 8
  chunk: 32768
  delay: 0s
files:
  patterns:
    - '/nsm/strelka/unprocessed/*'
  delete: false
  gatekeeper: true
  processed: '/nsm/strelka/processed'
response:
  report: 5s
delta: 5s
staging: '/nsm/strelka/staging'
