Thank you Badger for your reply.
The logs shows:
[2021-02-21T14:38:35,105][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.10.0", "jruby.version"=>"jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc Java HotSpot(TM) 64-Bit Server VM 25.241-b07 on 1.8.0_241-b07 +jit [linux-x86_64]"}
[2021-02-21T14:38:36,080][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2021-02-21T14:38:37,126][INFO ][org.reflections.Reflections] Reflections took 94 ms to scan 1 urls, producing 23 keys and 47 values
[2021-02-21T14:38:37,619][WARN ][logstash.javapipeline ][main] 'pipeline.ordered' is enabled and is likely less efficient, consider disabling if preserving event order is not necessary
[2021-02-21T14:38:37,663][INFO ][logstash.javapipeline ][main] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>1, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>125, "pipeline.sources"=>["/etc/logstash/conf.d/02-beats-people_counter-input.conf"], :thread=>"#<Thread:0x7d17809c@/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:125 run>"}
[2021-02-21T14:38:39,014][INFO ][logstash.javapipeline ][main] Pipeline Java execution initialization time {"seconds"=>1.34}
[2021-02-21T14:38:39,024][INFO ][logstash.inputs.beats ][main] Beats inputs: Starting input listener {:address=>"0.0.0.0:5043"}
[2021-02-21T14:38:39,065][INFO ][logstash.javapipeline ][main] Pipeline started {"pipeline.id"=>"main"}
[2021-02-21T14:38:39,123][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>}
[2021-02-21T14:38:39,340][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2021-02-21T14:38:39,342][INFO ][org.logstash.beats.Server][main][34c9226aa720892fcffaf85222a301e5e875c08f4df5a512eda79a67b10f3218] Starting server on port: 5043
[2021-02-21T14:39:02,432][WARN ][logstash.runner ] SIGINT received. Shutting down.
[2021-02-21T14:39:07,474][WARN ][logstash.runner ] Received shutdown signal, but pipeline is still waiting for in-flight events
to be processed. Sending another ^C will force quit Logstash, but this may cause
data loss.
[2021-02-21T14:39:09,641][INFO ][logstash.javapipeline ][main] Pipeline terminated {"pipeline.id"=>"main"}
[2021-02-21T14:39:10,538][INFO ][logstash.runner ] Logstash shut down.
[2021-02-21T14:57:39,702][WARN ][logstash.runner ] --config.debug was specified, but log.level was not set to 'debug'! No config info will be logged.
[2021-02-21T14:57:39,793][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.10.0", "jruby.version"=>"jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc Java HotSpot(TM) 64-Bit Server VM 25.241-b07 on 1.8.0_241-b07 +jit [linux-x86_64]"}
[2021-02-21T14:57:39,984][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2021-02-21T14:57:40,396][INFO ][org.reflections.Reflections] Reflections took 102 ms to scan 1 urls, producing 23 keys and 47 values
[2021-02-21T14:57:40,767][WARN ][logstash.javapipeline ][main] 'pipeline.ordered' is enabled and is likely less efficient, consider disabling if preserving event order is not necessary
[2021-02-21T14:57:40,792][INFO ][logstash.javapipeline ][main] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>1, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>125, "pipeline.sources"=>["/etc/logstash/conf.d/02-beats-people_counter-input.conf"], :thread=>"#<Thread:0x28a22f0@/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:125 run>"}
[2021-02-21T14:57:41,670][INFO ][logstash.javapipeline ][main] Pipeline Java execution initialization time {"seconds"=>0.88}
[2021-02-21T14:57:41,681][INFO ][logstash.inputs.beats ][main] Beats inputs: Starting input listener {:address=>"0.0.0.0:5043"}
[2021-02-21T14:57:41,701][INFO ][logstash.javapipeline ][main] Pipeline started {"pipeline.id"=>"main"}
[2021-02-21T14:57:41,749][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>}
[2021-02-21T14:57:41,880][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2021-02-21T14:57:41,903][INFO ][org.logstash.beats.Server][main][34c9226aa720892fcffaf85222a301e5e875c08f4df5a512eda79a67b10f3218] Starting server on port: 5043
[2021-02-21T15:05:36,539][WARN ][logstash.runner ] SIGINT received. Shutting down.
[2021-02-21T15:05:41,558][WARN ][logstash.runner ] Received shutdown signal, but pipeline is still waiting for in-flight events
to be processed. Sending another ^C will force quit Logstash, but this may cause
data loss.
[2021-02-21T15:05:42,863][INFO ][logstash.javapipeline ][main] Pipeline terminated {"pipeline.id"=>"main"}
[2021-02-21T15:05:43,610][INFO ][logstash.runner ] Logstash shut down.
This is my configuration:
node.name: logstashProd
path.data: /data/logstash
pipeline.workers: 1
path.config: /etc/logstash/conf.d
config.debug: true
path.logs: /var/log/logstash
And, here is the "path.config: /etc/logstash/conf.d":
input {
beats {
port => "5043"
ssl => false
}
}
file {
path => "/people-count-data.txt"
codec => line { format => "%{message}"}
}
}