I have installed and configured filebeat-8.15 on Windows 2019 host, and in the Kibana 'Discover' section in the , customized 'Data Views' which I have created by editing "Index Template" , and dropping the unwanted empty fields , I am getting
BTW, I have also created the an ingest pipeline -->
[
{
"script": {
"source": " for (entry in ctx.entrySet()) { if (entry.value instanceof String && entry.value.trim().length() == 0) { ctx.remove(entry.key); } } "
}
}
]
And load it in filebeat.yml -->
output.elasticsearch:
hosts: ["https://<host_ip>:9200"]
username: "elastic"
password: "***"
pipeline: "remove_empty_fields"
ssl:
enabled: true
verification_mode: none
But still not able to get rid of the empty fields, is there really a way to omit 6558 number of empty fields? Please let me know