Skip to content

Instantly share code, notes, and snippets.

@dougmcclure
Created December 11, 2014 22:32
Show Gist options
  • Save dougmcclure/d88a2ac98181ba5e5845 to your computer and use it in GitHub Desktop.
Save dougmcclure/d88a2ac98181ba5e5845 to your computer and use it in GitHub Desktop.
kibana 4 b2 logs in Docker container
vagrant@ubuntu-14:/vagrant/ELK-for-Bluemix$ docker attach f27098c8f289
[2014-12-11 22:14:13,006][INFO ][node ] [Puishannt] initialized
[2014-12-11 22:14:13,024][INFO ][node ] [Puishannt] starting ...
[2014-12-11 22:14:14,548][INFO ][transport ] [Puishannt] bound_address {inet[/0:0:0:0:0:0:0:0:9443]}, publish_address {inet[/172.17.0.70:9443]}
[2014-12-11 22:14:14,825][INFO ][discovery ] [Puishannt] elasticsearch/fRE7Ly3ETVOONryK9xLmZw
[2014-12-11 22:14:18,950][INFO ][cluster.service ] [Puishannt] new_master [Puishannt][fRE7Ly3ETVOONryK9xLmZw][f27098c8f289][inet[/172.17.0.70:9443]], reason: zen-disco-join (elected_as_master)
[2014-12-11 22:14:19,231][INFO ][http ] [Puishannt] bound_address {inet[/0:0:0:0:0:0:0:0:9080]}, publish_address {inet[/172.17.0.70:9080]}
[2014-12-11 22:14:19,236][INFO ][node ] [Puishannt] started
[2014-12-11 22:14:19,319][INFO ][gateway ] [Puishannt] recovered [0] indices into cluster_state
{:timestamp=>"2014-12-11T22:14:44.272000+0000", :message=>"Using milestone 2 input plugin 'tcp'. 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.2/plugin-milestones", :level=>:warn}
{:timestamp=>"2014-12-11T22:15:06.393000+0000", :message=>"Starting tcp input listener", :address=>"0.0.0.0:443", :level=>:info}
{:timestamp=>"2014-12-11T22:15:06.567000+0000", :message=>"Pipeline started", :level=>:info}
{"@timestamp":"2014-12-11T22:15:08+00:00","level":"INFO","name":"Kibana","message":"Kibana server started on tcp://0.0.0.0:80 in production mode."}
{:timestamp=>"2014-12-11T22:15:18.614000+0000", :message=>"New Elasticsearch output", :cluster=>nil, :host=>"localhost", :port=>"9080", :embedded=>false, :protocol=>"http", :level=>:info}
{:timestamp=>"2014-12-11T22:15:18.624000+0000", :message=>"Automatic template management enabled", :manage_template=>"true", :level=>:info}
{:timestamp=>"2014-12-11T22:15:18.630000+0000", :message=>"Using mapping template", :template=>"{ \"template\" : \"logstash-*\", \"settings\" : { \"index.refresh_interval\" : \"5s\" }, \"mappings\" : { \"_default_\" : { \"_all\" : {\"enabled\" : true}, \"dynamic_templates\" : [ { \"string_fields\" : { \"match\" : \"*\", \"match_mapping_type\" : \"string\", \"mapping\" : { \"type\" : \"string\", \"index\" : \"analyzed\", \"omit_norms\" : true, \"fields\" : { \"raw\" : {\"type\": \"string\", \"index\" : \"not_analyzed\", \"ignore_above\" : 256} } } } } ], \"properties\" : { \"@version\": { \"type\": \"string\", \"index\": \"not_analyzed\" }, \"geoip\" : { \"type\" : \"object\", \"dynamic\": true, \"path\": \"full\", \"properties\" : { \"location\" : { \"type\" : \"geo_point\" } } } } } }}", :level=>:info}
[2014-12-11 22:15:41,413][INFO ][cluster.metadata ] [Puishannt] [logstash-2014.12.11] creating index, cause [auto(bulk api)], shards [5]/[1], mappings [_default_]
[2014-12-11 22:15:43,240][INFO ][cluster.metadata ] [Puishannt] [logstash-2014.12.11] update_mapping [text event] (dynamic)
{
"message" => "A test message1",
"@version" => "1",
"@timestamp" => "2014-12-11T22:15:39.500Z",
"host" => "172.17.42.1:50252",
"type" => "text event"
}
{
"message" => "A test message1",
"@version" => "1",
"@timestamp" => "2014-12-11T22:15:40.387Z",
"host" => "172.17.42.1:50255",
"type" => "text event"
}
{
"message" => "A test message1",
"@version" => "1",
"@timestamp" => "2014-12-11T22:15:40.999Z",
"host" => "172.17.42.1:50257",
"type" => "text event"
}
{
"message" => "A test message1",
"@version" => "1",
"@timestamp" => "2014-12-11T22:15:41.773Z",
"host" => "172.17.42.1:50259",
"type" => "text event"
}
{"@timestamp":"2014-12-11T22:16:33+00:00","status":"200","level":"INFO","name":"Kibana","request_method":"GET","request":"/","path":"/","query_string":"","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"3317","response_time":51,"message":"GET / 200 51ms - 3317"}
{"@timestamp":"2014-12-11T22:16:33+00:00","status":"304","level":"INFO","name":"Kibana","request_method":"GET","request":"/bower_components/requirejs/require.js_b=3998","path":"/bower_components/requirejs/require.js","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"-","response_time":18,"message":"GET /bower_components/requirejs/require.js?_b=3998 304 18ms - -"}
{"@timestamp":"2014-12-11T22:16:33+00:00","status":"304","level":"INFO","name":"Kibana","request_method":"GET","request":"/styles/main.css_b=3998","path":"/styles/main.css","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"-","response_time":13,"message":"GET /styles/main.css?_b=3998 304 13ms - -"}
{"@timestamp":"2014-12-11T22:16:34+00:00","status":"304","level":"INFO","name":"Kibana","request_method":"GET","request":"/require.config.js_b=3998","path":"/require.config.js","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"-","response_time":6,"message":"GET /require.config.js?_b=3998 304 6ms - -"}
{"@timestamp":"2014-12-11T22:16:34+00:00","status":"304","level":"INFO","name":"Kibana","request_method":"GET","request":"/index.js_b=3998","path":"/index.js","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"-","response_time":15,"message":"GET /index.js?_b=3998 304 15ms - -"}
{"@timestamp":"2014-12-11T22:16:34+00:00","status":"200","level":"INFO","name":"Kibana","request_method":"GET","request":"/config_b=3998","path":"/config","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"155","response_time":78,"message":"GET /config?_b=3998 200 78ms - 155"}
{"@timestamp":"2014-12-11T22:19:37+00:00","status":"200","level":"INFO","name":"Kibana","request_method":"GET","request":"/","path":"/","query_string":"","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"3317","response_time":14,"message":"GET / 200 14ms - 3317"}
{"@timestamp":"2014-12-11T22:19:37+00:00","status":"304","level":"INFO","name":"Kibana","request_method":"GET","request":"/bower_components/requirejs/require.js_b=3998","path":"/bower_components/requirejs/require.js","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"-","response_time":16,"message":"GET /bower_components/requirejs/require.js?_b=3998 304 16ms - -"}
{"@timestamp":"2014-12-11T22:19:37+00:00","status":"304","level":"INFO","name":"Kibana","request_method":"GET","request":"/styles/main.css_b=3998","path":"/styles/main.css","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"-","response_time":40,"message":"GET /styles/main.css?_b=3998 304 40ms - -"}
{"@timestamp":"2014-12-11T22:19:38+00:00","status":"304","level":"INFO","name":"Kibana","request_method":"GET","request":"/require.config.js_b=3998","path":"/require.config.js","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"-","response_time":72,"message":"GET /require.config.js?_b=3998 304 72ms - -"}
{"@timestamp":"2014-12-11T22:19:38+00:00","status":"304","level":"INFO","name":"Kibana","request_method":"GET","request":"/index.js_b=3998","path":"/index.js","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"-","response_time":57,"message":"GET /index.js?_b=3998 304 57ms - -"}
{"@timestamp":"2014-12-11T22:19:42+00:00","status":"200","level":"INFO","name":"Kibana","request_method":"GET","request":"/config_b=3998","path":"/config","query_string":"_b=3998","remote_addr":"10.0.2.2","remote_user":null,"http_version":"HTTP/1.1","content_length":"155","response_time":16,"message":"GET /config?_b=3998 200 16ms - 155"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment