Yes, the type is doc. Here's one I've scraped from Kibana (using index pattern, filebeat-2018.11.20--indentation of values has disappeared as I paste it in here). Oops, it appears that it's _type: doc.
Very well, I've taken out that condition ( if[ type/_type == "doc" ). I still get no refinement of message into the mappings I was hoping to dissect. The output, as viewed in Kibana, is still as I just gave the earlier example.
Just to make sure, note that I have this dissect code (above) in /etc/logstash/conf.d/08-cef.conf, along with 02-beats-input.conf, 10-syslog.conf, 11-nginx.conf and 30-output.conf.
I can't tell if 08-cef.conf is being used, or if 10-syslog.conf is interfering somehow, part of this question (how to debug). The other part, of course, will be why doesn't dissect work.
All the files in the directory will be concatenated by Logstash, so could very well affect each other. The reason the sample event you showed does not work is probably that it has a different timestamp format compared to what you showed initially, 2018-11-04 15:11:09,639 vs Sep 19 08:26:10.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.