ok. it ran this time i got SSL error. I fixed it. by using http instead of https.
now the pipeline ran but there were errors.
[2021-10-25T10:37:25,454][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
[2021-10-25T10:37:25,746][INFO ][org.reflections.Reflections] Reflections took 51 ms to scan 1 urls, producing 120 keys and 417 values
[2021-10-25T10:37:26,271][INFO ][logstash.outputs.Elasticsearch][main] New Elasticsearch output {:class=>"LogStash::Outputs::Elasticsearch", :hosts=>["http://localhost:9200"]}
[2021-10-25T10:37:26,424][INFO ][logstash.outputs.Elasticsearch][main] Elasticsearch pool URLs updated {:changes=>{:removed=>, :added=>[http://localhost:9200/]}}
[2021-10-25T10:37:26,496][WARN ][logstash.outputs.Elasticsearch][main] Restored connection to ES instance {:url=>"http://localhost:9200/"}
[2021-10-25T10:37:26,532][INFO ][logstash.outputs.Elasticsearch][main] Elasticsearch version determined (7.10.2-SNAPSHOT) {:es_version=>7}
[2021-10-25T10:37:26,533][WARN ][logstash.outputs.Elasticsearch][main] Detected a 6.x and above cluster: the type
event field won't be used to determine the document _type {:es_version=>7}
[2021-10-25T10:37:26,549][ERROR][logstash.outputs.Elasticsearch][main] Unable to get license information {:url=>"http://localhost:9200/", :exception=>LogStash::Outputs::Elasticsearch::HttpClient::Pool::BadResponseCodeError, :message=>"Got response code '400' contacting Elasticsearch at URL 'http://localhost:9200/_license'"}
[2021-10-25T10:37:26,552][ERROR][logstash.outputs.Elasticsearch][main] Could not connect to a compatible version of Elasticsearch {:url=>"http://localhost:9200/"}
[2021-10-25T10:37:26,634][INFO ][logstash.javapipeline ][main] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>16, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>2000, "pipeline.sources"=>["/usr/local/Cellar/logstash-full/logstash.conf"], :thread=>"#<Thread:0x7cd72b6 run>"}
[2021-10-25T10:37:27,252][INFO ][logstash.javapipeline ][main] Pipeline Java execution initialization time {"seconds"=>0.62}
[2021-10-25T10:37:27,286][INFO ][logstash.javapipeline ][main] Pipeline started {"pipeline.id"=>"main"}
[2021-10-25T10:37:27,305][INFO ][filewatch.observingtail ][main][008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d] START, creating Discoverer, Watch with file and sincedb collections
[2021-10-25T10:37:27,319][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>}
[2021-10-25T10:37:27,324][ERROR][logstash.javapipeline ][main][008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d] A plugin had an unrecoverable error. Will restart this plugin.
Pipeline_id:main
Plugin: <LogStash::Inputs::File start_position=>"beginning", path=>["/Users/mudit.tripathi/Downloads/samplelogs.csv"], id=>"008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d", sincedb_path=>"/dev/null", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_86dad06b-da15-48c8-b282-1db920dcd487", 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", sincedb_clean_after=>1209600.0, 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: Permission denied - Permission denied
Exception: Errno::EACCES
Stack: org/jruby/RubyFile.java:1267:in utime' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1133:in
block in touch'
org/jruby/RubyArray.java:1820:in each' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1130:in
touch'
/usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/filewatch/sincedb_collection.rb:22:in initialize' /usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/filewatch/observing_base.rb:62:in
build_watch_and_dependencies'
/usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/filewatch/observing_base.rb:56:in initialize' /usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/logstash/inputs/file.rb:352:in
start_processing'
/usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/logstash/inputs/file.rb:368:in run' /usr/local/Cellar/logstash-full/7.15.1/libexec/logstash-core/lib/logstash/java_pipeline.rb:405:in
inputworker'
/usr/local/Cellar/logstash-full/7.15.1/libexec/logstash-core/lib/logstash/java_pipeline.rb:396:in block in start_input' [2021-10-25T10:37:28,338][INFO ][filewatch.observingtail ][main][008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d] START, creating Discoverer, Watch with file and sincedb collections [2021-10-25T10:37:28,340][ERROR][logstash.javapipeline ][main][008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d] A plugin had an unrecoverable error. Will restart this plugin. Pipeline_id:main Plugin: <LogStash::Inputs::File start_position=>"beginning", path=>["/Users/mudit.tripathi/Downloads/samplelogs.csv"], id=>"008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d", sincedb_path=>"/dev/null", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_86dad06b-da15-48c8-b282-1db920dcd487", 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", sincedb_clean_after=>1209600.0, 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: Permission denied - Permission denied Exception: Errno::EACCES Stack: org/jruby/RubyFile.java:1267:in
utime'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1133:in block in touch' org/jruby/RubyArray.java:1820:in
each'
uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1130:in touch' /usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/filewatch/sincedb_collection.rb:22:in
initialize'
/usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/filewatch/observing_base.rb:62:in build_watch_and_dependencies' /usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/filewatch/observing_base.rb:56:in
initialize'
/usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/logstash/inputs/file.rb:352:in start_processing' /usr/local/Cellar/logstash-full/7.15.1/libexec/vendor/bundle/jruby/2.5.0/gems/logstash-input-file-4.4.0/lib/logstash/inputs/file.rb:368:in
run'
/usr/local/Cellar/logstash-full/7.15.1/libexec/logstash-core/lib/logstash/java_pipeline.rb:405:in inputworker' /usr/local/Cellar/logstash-full/7.15.1/libexec/logstash-core/lib/logstash/java_pipeline.rb:396:in
block in start_input'
[2021-10-25T10:37:29,344][INFO ][filewatch.observingtail ][main][008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d] START, creating Discoverer, Watch with file and sincedb collections
[2021-10-25T10:37:29,360][ERROR][logstash.javapipeline ][main][008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d] A plugin had an unrecoverable error. Will restart this plugin.
Pipeline_id:main
Plugin: <LogStash::Inputs::File start_position=>"beginning", path=>["/Users/mudit.tripathi/Downloads/samplelogs.csv"], id=>"008b12e652d9ef75bf481081144f95a9a9a2b8d261d279d5f05dd9be8c2ff69d", sincedb_path=>"/dev/null", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_86dad06b-da15-48c8-b282-1db920dcd487", 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", sincedb_clean_after=>1209600.0, 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: Permission denied - Permission denied
Exception: Errno::EACCES
Stack: org/jruby/RubyFile.java:1267:in utime' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1133:in
block in touch'
org/jruby/RubyArray.java:1820:in each' uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/fileutils.rb:1130:in
touch'
this keeps on coming in logs.