天天看點

logstash -e ""

[[email protected] bin]$ logstash -e ""

Sending Logstash's logs to /home/wangshumin/ekl/logstash-5.3.1/logs which is now configured via log4j2.properties

[2018-04-29T11:29:40,431][INFO ][logstash.pipeline        ] Starting pipeline {"id"=>"main", "pipeline.workers"=>1, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>125}

[2018-04-29T11:29:40,496][INFO ][logstash.pipeline        ] Pipeline main started

The stdin plugin is now waiting for input:

[2018-04-29T11:29:40,614][INFO ][logstash.agent           ] Successfully started Logstash API endpoint {:port=>9600}

{

    "@timestamp" => 2018-04-29T03:29:55.612Z,

      "@version" => "1",

          "host" => "CentOSNode1",

       "message" => "",

          "type" => "stdin"

}

{

    "@timestamp" => 2018-04-29T03:29:55.939Z,

      "@version" => "1",

          "host" => "CentOSNode1",

       "message" => "",

          "type" => "stdin"

}

z^H

{

    "@timestamp" => 2018-04-29T03:30:04.142Z,

      "@version" => "1",

          "host" => "CentOSNode1",

       "message" => "z\b",

          "type" => "stdin"

}

我是王樹民,在使用lgstq

{

    "@timestamp" => 2018-04-29T03:30:28.983Z,

      "@version" => "1",

          "host" => "CentOSNode1",

       "message" => "我是王樹民,在使用lgstq",

          "type" => "stdin"

}

繼續閱讀