Logstash errors out-Couldn't find any input plugin named 'beats'

here is the logstash conf file

input {

beats {
    port => 5044
  }
}
filter {
		csv {
			columns => [
		"date", "time", "s-sitename", "s-ip", "cs-method", "cs-uri-stem", "cs-uri-query", "s-port", "cs-username", "c-ip", "cs-user-agent", "sc-status", "sc-substatus", "sc-win32-status"
			]
			separator => " "
		 }
  
mutate {
    add_field => { "logdate" => "%{date} %{time}" }
}

date {
    match => [ "logdate", "YYYY-MM-dd HH:mm:ss"]
  }

		
}
output {
#	stdout { codec => rubydebug }
	elasticsearch {
		"hosts" => "localhost:9200"
		"index" => "logs-%{+yyyy.MM.dd}"
		"document_type" => "iis_logs"
	}
}

@magnusbaeck Any help on why this erroring out.

io/console not supported; tty will not be manipulated
←[31mfetched an invalid config {:config=>"input {\n\nbeats {\n    port => 5044\n  }\n}\nfilter {\n\t\tcsv {\n\t\t\tcolumns => [\n\t\t\"date\", \"time\
", \"s-sitename\", \"s-ip\", \"cs-method\", \"cs-uri-stem\", \"cs-uri-query\", \"s-port\", \"cs-username\", \"c-ip\", \"cs-user-agent\", \"sc-status\"
, \"sc-substatus\", \"sc-win32-status\"\n\t\t\t]\n\t\t\tseparator => \" \"\n\t\t }\n  \nmutate {\n    add_field => { \"logdate\" => \"%{date} %{time}\
" }\n}\n\ndate {\n    match => [ \"logdate\", \"YYYY-MM-dd HH:mm:ss\"]\n  }\n\n\t\t\n}\noutput {\n#\tstdout { codec => rubydebug }\n\telasticsearch {\
n\t\t\"hosts\" => \"sc1elk01d00:9200\"\n\t\t\"index\" => \"dev-intranet-%{+yyyy.MM.dd}\"\n\t\t\"document_type\" => \"iis_logs\"\n\t}\n}\n\n", :reason=
>"Couldn't find any input plugin named 'beats'. Are you sure this is correct? Trying to load the beats input plugin resulted in this error: no such fi
le to load -- logstash/inputs/beats", :level=>:error}←[0m
The signal HUP is in use by the JVM and will not work correctly on this platform

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