input {
  file {
    path => "/home/zoox/action_logs/action_log.*.*.log"
    codec => "json"
    start_position => "beginning"
  }
}

filter {
  date {
    match => ["receivedAt", "ISO8601"]
  }
}

output {
  elasticsearch {
    hosts => ["search-metrics-production-c65mdhdibmbmkl4pfiqsj5yhmq.us-west-2.es.amazonaws.com:443"]
    ssl => true
    sniffing => false
    manage_template => false
    index => "kraken-action-logs-%{+YYYY.MM.dd}"
  }
}
