I defined ducument_type=apachelogs in filebeat.prospectors, but having problem in if[type] == "apachelogs"

So what does an example event actually look like? Use a stdout { codec => rubydebug } output.