Logstash problem with images

Hi @Badger .
I have a question: when I was reading the file with the file input and set the piplines worker to 1 everythings work fine. But when I'am reading the file with filebeat and then give to logstash the pipline workers are ignored and logstash start counting duble (multiple CPU). Why? The information that arrive from filebeat are maneged in different way?
You said before that each cpu use an instance of @c there is a way to use one globale varable of each cpu. In this article seems not possible Global variable? - #2 by Chemse. Can I use the field (like count) to save the object globaly (accessible by all cpu)?