<source>
  @type forward
  port 24224
  bind 0.0.0.0
</source>

<match nginx.access>
  @type mysql_bulk
  host localhost
  database guard
  username root
  password root
  column_names id,nodeid, created_at, ip,method,scheme,host, uri, protocol,status, byte_sent,referer, user_agent, content_type
  key_names id,nodeid, ${time}, ip,method,scheme,host, uri, protocol,status, byte_sent,referer, user_agent, content_type
  table access_log

  flush_interval 5s
  flush_mode interval
  buffer_type file
  buffer_path /opt/buffer_file_master
  buffer_chunk_limit 8m
  buffer_queue_limit 1000
  disable_retry_limit false  
  transaction_isolation_level repeatable_read
</match>



