Skip to content

Instantly share code, notes, and snippets.

@jrstarke
Created November 29, 2014 04:33
Show Gist options
  • Save jrstarke/384f192abdd93c0acf2a to your computer and use it in GitHub Desktop.
Save jrstarke/384f192abdd93c0acf2a to your computer and use it in GitHub Desktop.
{:timestamp=>"2014-11-29T04:30:54.755000+0000", :message=>"Adding plugin path", :path=>"/opt/logstash/agent/lib", :level=>:debug, :file=>"logstash/agent.rb", :line=>"282"}
{:timestamp=>"2014-11-29T04:30:54.766000+0000", :message=>"Reading config file", :file=>"logstash/agent.rb", :level=>:debug, :line=>"301"}
{:timestamp=>"2014-11-29T04:30:54.769000+0000", :message=>"Reading config file", :file=>"logstash/agent.rb", :level=>:debug, :line=>"301"}
{:timestamp=>"2014-11-29T04:30:54.790000+0000", :message=>"Reading config file", :file=>"logstash/agent.rb", :level=>:debug, :line=>"301"}
{:timestamp=>"2014-11-29T04:30:55.045000+0000", :message=>"Compiled pipeline code:\n@inputs = []\n@filters = []\n@outputs = []\n@input_file_1 = plugin(\"input\", \"file\", LogStash::Util.hash_merge_many({ \"path\" => (\"/home/silkstart/logs/*.log\".force_encoding(\"UTF-8\")) }, { \"type\" => (\"nginx\".force_encoding(\"UTF-8\")) }))\n\n@inputs << @input_file_1\n@output_redis_2 = plugin(\"output\", \"redis\", LogStash::Util.hash_merge_many({ \"host\" => (\"192.168.33.11\".force_encoding(\"UTF-8\")) }, { \"data_type\" => (\"list\".force_encoding(\"UTF-8\")) }, { \"key\" => (\"logstash\".force_encoding(\"UTF-8\")) }, { \"codec\" => (\"json\".force_encoding(\"UTF-8\")) }))\n\n@outputs << @output_redis_2\n@output_stdout_3 = plugin(\"output\", \"stdout\", LogStash::Util.hash_merge_many({ \"codec\" => (\"rubydebug\".force_encoding(\"UTF-8\")) }))\n\n@outputs << @output_stdout_3\n @filter_func = lambda do |event, &block|\n extra_events = []\n @logger.debug? && @logger.debug(\"filter received\", :event => event.to_hash)\n extra_events.each(&block)\n end\n @output_func = lambda do |event, &block|\n @logger.debug? && @logger.debug(\"output received\", :event => event.to_hash)\n @output_redis_2.handle(event)\n \n @output_stdout_3.handle(event)\n \n end", :level=>:debug, :file=>"logstash/pipeline.rb", :line=>"26"}
{:timestamp=>"2014-11-29T04:30:55.132000+0000", :message=>"Using milestone 2 input plugin 'file'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.4.1/plugin-milestones", :level=>:warn, :file=>"logstash/config/mixin.rb", :line=>"209"}
{:timestamp=>"2014-11-29T04:30:55.143000+0000", :message=>"config LogStash::Codecs::Plain/@charset = \"UTF-8\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.147000+0000", :message=>"config LogStash::Inputs::File/@path = [\"/home/silkstart/logs/*.log\"]", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.149000+0000", :message=>"config LogStash::Inputs::File/@type = \"nginx\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.151000+0000", :message=>"config LogStash::Inputs::File/@debug = false", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.152000+0000", :message=>"config LogStash::Inputs::File/@codec = <LogStash::Codecs::Plain charset=>\"UTF-8\">", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.154000+0000", :message=>"config LogStash::Inputs::File/@add_field = {}", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.155000+0000", :message=>"config LogStash::Inputs::File/@stat_interval = 1", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.157000+0000", :message=>"config LogStash::Inputs::File/@discover_interval = 15", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.159000+0000", :message=>"config LogStash::Inputs::File/@sincedb_write_interval = 15", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.165000+0000", :message=>"config LogStash::Inputs::File/@start_position = \"end\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.197000+0000", :message=>"Using milestone 2 output plugin 'redis'. This plugin should be stable, but if you see strange behavior, please let us know! For more information on plugin milestones, see http://logstash.net/docs/1.4.1/plugin-milestones", :level=>:warn, :file=>"logstash/config/mixin.rb", :line=>"209"}
{:timestamp=>"2014-11-29T04:30:55.231000+0000", :message=>"config LogStash::Codecs::JSON/@charset = \"UTF-8\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.249000+0000", :message=>"config LogStash::Outputs::Redis/@host = [\"192.168.33.11\"]", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.258000+0000", :message=>"config LogStash::Outputs::Redis/@data_type = \"list\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.260000+0000", :message=>"config LogStash::Outputs::Redis/@key = \"logstash\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.263000+0000", :message=>"config LogStash::Outputs::Redis/@codec = <LogStash::Codecs::JSON charset=>\"UTF-8\">", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.275000+0000", :message=>"config LogStash::Outputs::Redis/@type = \"\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.276000+0000", :message=>"config LogStash::Outputs::Redis/@tags = []", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.278000+0000", :message=>"config LogStash::Outputs::Redis/@exclude_tags = []", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.280000+0000", :message=>"config LogStash::Outputs::Redis/@workers = 1", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.282000+0000", :message=>"config LogStash::Outputs::Redis/@name = \"default\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.285000+0000", :message=>"config LogStash::Outputs::Redis/@shuffle_hosts = true", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.287000+0000", :message=>"config LogStash::Outputs::Redis/@port = 6379", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.289000+0000", :message=>"config LogStash::Outputs::Redis/@db = 0", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.290000+0000", :message=>"config LogStash::Outputs::Redis/@timeout = 5", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.292000+0000", :message=>"config LogStash::Outputs::Redis/@batch = false", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.294000+0000", :message=>"config LogStash::Outputs::Redis/@batch_events = 50", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.295000+0000", :message=>"config LogStash::Outputs::Redis/@batch_timeout = 5", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.297000+0000", :message=>"config LogStash::Outputs::Redis/@reconnect_interval = 1", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.299000+0000", :message=>"config LogStash::Outputs::Redis/@congestion_threshold = 0", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
{:timestamp=>"2014-11-29T04:30:55.301000+0000", :message=>"config LogStash::Outputs::Redis/@congestion_interval = 1", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"105"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment