input {
	beats {
		port => 5044
	}

	tcp {
		port => 5000
	}
}

## Add your filters / logstash plugins configuration here

output {
	elasticsearch {
		hosts => "elasticsearch:9200"
		user => "elastic"
		password => "hudongtang2020"
		index =>"nginx-access-log-%{+YYYY.MM}.log"
	}
}
