[Agent thread] sourceloader - No configuration found in the configured sources

good day

I reinstalled logstash and when I try to test a snmp file I get the following error:

 [2022-03-22T23:56:52,421][ERROR][logstash.outputs.elasticsearch][main] Failed to install template {:message=>"Got response code '400' contacting Elasticsearch at URL 'https://425dc991b9ec4c7fb23f3ef706bd675>
Mar 22 23:56:52 logstash logstash[9840]: [2022-03-22T23:56:52,426][INFO ][logstash.outputs.elasticsearch][main] Using a default mapping template {:es_version=>7, :ecs_compatibility=>:v8}
Mar 22 23:56:52 logstash logstash[9840]: [2022-03-22T23:56:52,475][INFO ][logstash.outputs.elasticsearch][main] Installing Elasticsearch template {:name=>"ecs-logstash"}

[ERROR] 2022-03-22 23:34:16.114 [Agent thread] sourceloader - No configuration found in the configured sources.
[INFO ] 2022-03-22 23:34:19.113 [Agent thread] configpathloader - No config files found in path {:path=>"/usr/share/logstash/universidad"}

this is my output:

output {
# stdout { }
  elasticsearch {
    hosts => ["https://xxxxxxxxxxxxxxxxxxx.us-central1.gcp.cloud.es.io:9243"]
    user => "elastic"
    password => "xxxxxxx"
    index => "universidad"
     }
   }

I need your help and I have tried and tried and nothing please :frowning:

what I did was to uninstall logstash and install version 7.8.0, since the one I had was 8.0 and it has several failures (be sure to delete and purge logstash for the re-installation to work).

sudo systemctl stop logstash.service
sudo apt-get remove logstash
sudo apt-get --purge autoremove logstash
sudo rm -r /etc/logstash/conf.d
sudo rm -r /var/lib/logstash
sudo rm -r /var/log/logstash

install this version:

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