Simple Logstash Event in Docker

Hi All,

I just pulled a Logstash Docker image and trying to run a simple event.

here is the command I use.

docker run --rm -it -v ~/pipleine/simpleevent.conf:/usr/share/logstash/pipeline/ docker.elastic.co/logstash/logstash:7.10.2

simpleevent.conf

    input{
    	stdin{}
    }

    output{
    	stdout{}
    }

error:

No configuration found in the configured sources.

please let me know where am I going wrong? I believe there is not