---
# System prepended metadata

title: Untitled

---

<source>
  @type tail
  format json
  read_lines_limit 1000
  path /tmp1/*/*.log
  pos_file /tmp/pos_file/all_project.log.pos
  read_from_head true
  tag UP0125_ai_all_project
</source>

<match UP0125_ai*>
  @type copy
  <store>
    @type elasticsearch
    logstash_format true
    logstash_prefix UP0125_ai
    logstash_prefix separator
    logstash_dateformat %Y-%m-%d
    hosts 192.168.8.101:9200,192.168.8.102:9200,192.168.8.103:9200
    scheme https
    ssl_verify yes
    flush_interval 5s
    id_key tail_hash
    write_operation create
    buffer_type memory
    retry_limit 5
    ssl_version TLSv1_2
    user elastic
    password crv1313
    time_key timestamp
    time_key_format %Y-%m-%dT%H:%M:%S.%N
    type_name _doc
  </store>
  <store>
    @type elasticsearch
    logstash_format true
    logstash_prefix UP0125_ai
    logstash_prefix separator
    logstash_dateformat %Y-%m-%d
    hosts 192.168.8.61:9200,192.168.8.62:9200,192.168.8.63:9200
    scheme https
    ssl_verify yes
    flush_interval 5s
    id_key tail_hash
    write_operation create
    buffer_type memory
    retry_limit 5
    ssl_version TLSv1_1
    user elastic
    password crv1313
    time_key timestamp
    time_key_format %Y-%m-%dT%H:%M:%S.%N
    type_name _doc
  </store>
</match>
