logstash-plugins / logstash-input-salesforce

Logstash input for pulling objects from salesforce
Apache License 2.0
16 stars 29 forks source link

Fail to Parse Timestamp:Class of Logstash. #7

Closed acro-tanaka closed 7 years ago

acro-tanaka commented 7 years ago

Sending Logstash's logs to /home/ec2-user/logstash-5.1.2/logs which is now configured via log4j2.properties [2017-01-25T04:47:57,197][INFO ][logstash.pipeline ] Starting pipeline {"id"=>"main", "pipeline.workers"=>2, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>5, "pipeline.max_inflight"=>250} [2017-01-25T04:47:57,215][INFO ][logstash.pipeline ] Pipeline main started [2017-01-25T04:47:57,272][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600} [2017-01-25T04:47:58,737][ERROR][logstash.pipeline ] A plugin had an unrecoverable error. Will restart this plugin. Plugin: <LogStash::Inputs::Salesforce client_id=>"xxxxxxxxxxxxx", client_secret=>"xxxxxxxxxxxxx", username=>"xxxxxxxxxxxxx", password=>"xxxxxxxxxxxxx", security_token=>"xxxxxxxxxxxxx", sfdc_object_name=>"Opportunity", id=>"xxxxxxxxxxxxx", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"xxxxxxxxxxxxx", enable_metric=>true, charset=>"UTF-8">, use_test_sandbox=>false, to_underscores=>false> Error: undefined method `parse' for LogStash::Timestamp:Class ^C[2017-01-25T04:48:02,512][WARN ][logstash.runner ] SIGINT received. Shutting down the agent. [2017-01-25T04:48:02,527][WARN ][logstash.agent ] stopping pipeline {:id=>"main"}