with JSON input, i have field like
build.artifacts.hyper-mingw64-x86_64-debug-master.0.0.1677.rd3e0b27a.tgz.archive: "SOME VALUE1"
build.artifacts.hyper-mingw64-x86_64-debug-master.0.0.1677.rd3e0b27a.zip.archive: "SOME VALUE2"
build.artifacts.hyper-symbols-mingw64-x86_64-debug-master.0.0.1677.rd3e0b27a.tgz.archive : "SOME VALUE3"
I would like to suppress/ mutate->remove fields to such fields. in logstash filter,
- how can we search for pattern like field names starting with "build.artifacts*"?
- how can we find the length of field name if needed?
note: here i want to search the key and not its value.