Ingest pipeline not working for filebeat

I've created an ingest pipeline that works perfectly when I use the simulate endpoint, POST filebeat-7.6.2-2020.04.14/_doc?pipeline=pipeline_lookup_test, and when I reindex the data into the index. But when I try and send the data from filebeat, the data comes in, but the pipeline doesn't work. I've tried making the pipeline more simple (just setting a field) and also that doesn't work.

I've PUT filebeat-7.6.2-2020.04.14/_settings { "index" : { "default_pipeline" : "pipeline_lookup_test" } }
And also put in filebeat.yml

  # Array of hosts to connect to.
  hosts: ["http://localhost:9200"]
  pipeline: "pipeline_lookup_test"

But none of it works. Again, this works when I POST, simulate and reindex, but not when I send the data via filebeat. I'm using a module (zeek), not sure if that would interfere...

- module: zeek
  # All logs
    enabled: true
    var.paths: ["/usr/local/zeek/logs/current/conn*.log"]
    enabled: true
    var.paths: ["/usr/local/zeek/logs/current/dns.log", "/usr/local/zeek/logs/current/ntp.log"]
    enabled: true
    var.paths: ["/usr/local/zeek/logs/current/http.log"]
    enabled: true
    var.paths: ["/usr/local/zeek/logs/current/files.log"]
    enabled: true
    var.paths: ["/usr/local/zeek/logs/current/ssl.log"]
    enabled: true
    var.paths: ["/usr/local/zeek/logs/current/notice.log"]
    enabled: true
    var.paths: ["/usr/local/zeek/logs/current/weird.log"]

Modules run with built in ingest pipelines and you cannot define multiple ingest pipelines. Therefore PUT filebeat-7.6.2-2020.04.14/_settings { "index" : { "default_pipeline" : "pipeline_lookup_test" } } should actually be PUT filebeat-7.6.2-2020.04.14/_settings { "index" : { "final_pipeline" : "pipeline_lookup_test" } } ... that was a frustrating 3 hours. :sweat:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.