Getting Error on logstash log file

[2021-04-17T21:44:28,123][ERROR][logstash.javapipeline    ] A plugin had an unrecoverable error. Will restart this plugin.
      Pipeline_id:group_index
      Plugin: <LogStash::Inputs::File start_position=>"beginning", path=>["/DataFolder/Group_index.csv"], add_field=>{"[event][type]"=>"Device Group", "company_name"=>"school_ep"}, sincedb_clean_after=>259.2, id=>"bb113701f9222fa297ea12658392e713937ec4135bb940fba04854f16fad90ef", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_a3bafbc0-fc17-4583-9ea1-e0ea725cff1c", enable_metric=>true, charset=>"UTF-8">, stat_interval=>1.0, discover_interval=>15, sincedb_write_interval=>15.0, delimiter=>"\n", close_older=>3600.0, mode=>"tail", file_completed_action=>"delete", file_chunk_size=>32768, file_chunk_count=>140737488355327, file_sort_by=>"last_modified", file_sort_direction=>"asc", exit_after_read=>false, check_archive_validity=>false>
      Error: The handle is invalid
      Exception: IOError
      Stack: org/jruby/RubyIO.java:1234:in `sysopen'
    org/jruby/RubyIO.java:1214:in `sysopen'
    C:/logstash/logstash-7.11.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.2.3/lib/filewatch/sincedb_collection.rb:235:in `non_atomic_write'
    org/jruby/RubyMethod.java:119:in `call'
    C:/logstash/logstash-7.11.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.2.3/lib/filewatch/sincedb_collection.rb:212:in `sincedb_write'
    C:/logstash/logstash-7.11.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.2.3/lib/filewatch/sincedb_collection.rb:185:in `flush_at_interval'
    C:/logstash/logstash-7.11.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.2.3/lib/filewatch/watch.rb:57:in `subscribe'
    C:/logstash/logstash-7.11.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.2.3/lib/filewatch/observing_tail.rb:12:in `subscribe'
    C:/logstash/logstash-7.11.2/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.2.3/lib/logstash/inputs/file.rb:364:in `run'
    C:/logstash/logstash-7.11.2/logstash-core/lib/logstash/java_pipeline.rb:405:in `inputworker'
    C:/logstash/logstash-7.11.2/logstash-core/lib/logstash/java_pipeline.rb:396:in `block in start_input'

what is this error means. i am getting this multiple times

i also get another error as below

[2021-04-17T11:18:48,116][WARN ][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been created for key: send_to. This may result in invalid serialization.  It is recommended to log an issue to the responsible developer/development team.
[2021-04-17T11:18:48,350][WARN ][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge] A gauge metric of an unknown type (org.jruby.specialized.RubyArrayOneObject) has been created for key: send_to. This may result in invalid serialization.  It is recommended to log an issue to the responsible developer/development team.

any solution

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.