Logstash throwing Failed to execute action java.lang.IllegalStateException: error when starting the agent

You could edit logstash.yml or add --log.level debug to the command line.