title: Logstash stuck problem on pipeline running
body: <p>I am trying to read logs to load them into elasticsearch using logstash im running it in a RHEL 7.9 integrated with elasticsearch and Kibana, but when I run it it stops at:</p>
  <p><code>[INFO ] 2021-10-22 13:40:00.704 [Agent thread] agent - Pipelines running {:count=&gt;1, :running_pipelines=&gt;[:main], :non_running_pipelines=&gt;[]}</code></p>
  <p>My file config is:</p>
  <pre><code> file {
     path =&gt; [
                  &quot;/home/logstash/connectors.log&quot;
          ]
     start_position =&gt; &quot;beginning&quot;
    }
  }
  filter {
     grok {
            break_on_match =&gt; false
            match =&gt; {
            &quot;message&quot; =&gt; &quot;%{TIMESTAMP_ISO8601:fecha} \[(?&lt;threadname&gt;[^\]]+)\] %{LOGLEVEL:loglevel}\s*\(%{JAVAFILE:file}:%{INT:line}\)\s*-\s*Dato\s*a\s*enviar:\s*\[%{GREEDYDATA:xml}\]&quot;
            }
          }
  }
  output {
    stdout {
      codec =&gt; rubydebug
    }
    elasticsearch {
      hosts =&gt; [&quot;localhost:8087&quot;]
          document_id =&gt; &quot;%{[@metadata][fingerprint]}&quot;
      index =&gt; &quot;wilobank-%{+YYYY.MM.dd}&quot;
    }
  }
  </code></pre>
  <p>And the log of execution is:</p>
  <pre><code>OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
  WARNING: Could not find logstash.yml which is typically located in $LS_HOME/config or /etc/logstash. You can specify the path using --path.settings. Continuing using the defaults
  Could not find log4j2 configuration at path /usr/share/logstash/config/log4j2.properties. Using default config which logs errors to the console
  [INFO ] 2021-10-22 13:48:29.490 [main] runner - Starting Logstash {&quot;logstash.version&quot;=&gt;&quot;7.15.1&quot;, &quot;jruby.version&quot;=&gt;&quot;jruby 9.2.19.0 (2.5.8) 2021-06-15 55810c552b OpenJDK 64-Bit Server VM 11.0.12+7 on 11.0.12+7 +indy +jit [linux-x86_64]&quot;}
  [WARN ] 2021-10-22 13:48:29.818 [LogStash::Runner] multilocal - Ignoring the 'pipelines.yml' file because modules or command line options are specified
  [INFO ] 2021-10-22 13:48:30.990 [Api Webserver] agent - Successfully started Logstash API endpoint {:port=&gt;9600}
  [INFO ] 2021-10-22 13:48:31.589 [Converge PipelineAction::Create&lt;main&gt;] Reflections - Reflections took 73 ms to scan 1 urls, producing 120 keys and 417 values
  [WARN ] 2021-10-22 13:48:32.589 [Converge PipelineAction::Create&lt;main&gt;] plain - Relying on default value of `pipeline.ecs_compatibility`, which may change in a future major release of Logstash. To avoid unexpected changes when upgrading Logstash, please explicitly declare your desired ECS Compatibility mode.
  [WARN ] 2021-10-22 13:48:32.648 [Converge PipelineAction::Create&lt;main&gt;] file - Relying on default value of `pipeline.ecs_compatibility`, which may change in a future major release of Logstash. To avoid unexpected changes when upgrading Logstash, please explicitly declare your desired ECS Compatibility mode.
  [WARN ] 2021-10-22 13:48:32.970 [Converge PipelineAction::Create&lt;main&gt;] plain - Relying on default value of `pipeline.ecs_compatibility`, which may change in a future major release of Logstash. To avoid unexpected changes when upgrading Logstash, please explicitly declare your desired ECS Compatibility mode.
  [WARN ] 2021-10-22 13:48:33.021 [Converge PipelineAction::Create&lt;main&gt;] elasticsearch - Relying on default value of `pipeline.ecs_compatibility`, which may change in a future major release of Logstash. To avoid unexpected changes when upgrading Logstash, please explicitly declare your desired ECS Compatibility mode.
  [INFO ] 2021-10-22 13:48:33.085 [[main]-pipeline-manager] elasticsearch - New Elasticsearch output {:class=&gt;&quot;LogStash::Outputs::ElasticSearch&quot;, :hosts=&gt;[&quot;//localhost:8087&quot;]}
  [INFO ] 2021-10-22 13:48:33.418 [[main]-pipeline-manager] elasticsearch - Elasticsearch pool URLs updated {:changes=&gt;{:removed=&gt;[], :added=&gt;[http://localhost:8087/]}}
  [WARN ] 2021-10-22 13:48:33.566 [[main]-pipeline-manager] elasticsearch - Restored connection to ES instance {:url=&gt;&quot;http://localhost:8087/&quot;}
  [INFO ] 2021-10-22 13:48:33.616 [[main]-pipeline-manager] elasticsearch - Elasticsearch version determined (7.15.1) {:es_version=&gt;7}
  [WARN ] 2021-10-22 13:48:33.618 [[main]-pipeline-manager] elasticsearch - Detected a 6.x and above cluster: the `type` event field won't be used to determine the document _type {:es_version=&gt;7}
  [WARN ] 2021-10-22 13:48:33.705 [[main]-pipeline-manager] grok - Relying on default value of `pipeline.ecs_compatibility`, which may change in a future major release of Logstash. To avoid unexpected changes when upgrading Logstash, please explicitly declare your desired ECS Compatibility mode.
  [INFO ] 2021-10-22 13:48:33.741 [Ruby-0-Thread-10: :1] elasticsearch - Using a default mapping template {:es_version=&gt;7, :ecs_compatibility=&gt;:disabled}
  [INFO ] 2021-10-22 13:48:33.880 [[main]-pipeline-manager] javapipeline - Starting pipeline {:pipeline_id=&gt;&quot;main&quot;, &quot;pipeline.workers&quot;=&gt;8, &quot;pipeline.batch.size&quot;=&gt;125, &quot;pipeline.batch.delay&quot;=&gt;50, &quot;pipeline.max_inflight&quot;=&gt;1000, &quot;pipeline.sources&quot;=&gt;[&quot;/home/logstash/test.conf&quot;], :thread=&gt;&quot;#&lt;Thread:0x7a96f84a run&gt;&quot;}
  [INFO ] 2021-10-22 13:48:34.785 [[main]-pipeline-manager] javapipeline - Pipeline Java execution initialization time {&quot;seconds&quot;=&gt;0.9}
  [INFO ] 2021-10-22 13:48:34.840 [[main]-pipeline-manager] file - No sincedb_path set, generating one based on the &quot;path&quot; setting {:sincedb_path=&gt;&quot;/usr/share/logstash/data/plugins/inputs/file/.sincedb_a171bd20c3269483fada27f50b68caf2&quot;, :path=&gt;[&quot;/home/logstash/itecban-connectors.log&quot;]}
  [INFO ] 2021-10-22 13:48:34.860 [[main]-pipeline-manager] javapipeline - Pipeline started {&quot;pipeline.id&quot;=&gt;&quot;main&quot;}
  [INFO ] 2021-10-22 13:48:34.897 [[main]&lt;file] observingtail - START, creating Discoverer, Watch with file and sincedb collections
  [INFO ] 2021-10-22 13:48:34.916 [Agent thread] agent - Pipelines running {:count=&gt;1, :running_pipelines=&gt;[:main], :non_running_pipelines=&gt;[]}
  </code></pre>
  <p>Can someone help me?
  Thanks in advance</p>