configuration for http_polling
# THE URLs are not exposed to the outside world so you might not be able to use them...
# the problem causing URLs are : a tomcat webservice app.
# a JMX endpoint to veify a process is up and running.
#
input {
http_poller {
urls => {
sdp_sane_service => "http://staton-09.int.westgroup.com:8080/monitor-sa/rest/sdp-sane/cluster/ping"
sdp_sane_db => "http://staton-09.int.westgroup.com:8080/monitor-sa/rest/sdp-sane/cluster/db"
This file has been truncated. show original
http_poller errors
{:timestamp=>"2015-11-23T07:46:12.519000-0600", :message=>"Reading config file", :file=>"logstash/agent.rb", :level=>:debug, :line=>"301", :method=>"local_config"}
{:timestamp=>"2015-11-23T07:46:12.917000-0600", :message=>"Compiled pipeline code:\n @inputs = []\n @filters = []\n @outputs = []\n @periodic_flushers = []\n @shutdown_flushers = []\n\n @input_http_poller_1 = plugin(\"input\", \"http_poller\", LogStash::Util.hash_merge_many({ \"urls\" => {(\"sdp_sane_service\") => (\"http://staton-09.int.westgroup.com:8080/monitor-sa/rest/sdp-sane/cluster/ping\"), (\"sdp_sane_db\") => (\"http://staton-09.int.westgroup.com:8080/monitor-sa/rest/sdp-sane/cluster/db\"), (\"sdp_copro\") => (\"http://staton-10.int.westgroup.com:10510/jolokia/read/com.trgr.platform.riptide:type=Registrar/InstanceName\"), (\"sdp_JMSconsumer\") => (\"http://staton-11.int.westgroup.com:10910/jolokia/read/com.trgr.platform.riptide:type=Registrar/InstanceName\"), (\"sdp_esconsumer\") => (\"http://sdp-decahose-dev-8.amers1.cis.trcloud:10710/jolokia/read/com.trgr.platform.riptide:type=Registrar/InstanceName\"), (\"es_blip\") => (\"http://blip.sdp.int.thomsonreuters.com/\"), (\"es_logging\") => (\"http://logging.sdp.int.thomsonreuters.com/\"), (\"es_tribe_node\") => (\"http://search.sdp.int.thomsonreuters.com/\"), (\"porto_state\") => {(\"url\") => (\"http://porto.int.thomsonreuters.com:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"gnosis_state\") => {(\"url\") => (\"http://porto.int.thomsonreuters.com:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"olimp_state\") => {(\"url\") => (\"http://porto.int.thomsonreuters.com:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sdp_decahose_dev_5_state\") => {(\"url\") => (\"http://sdp-decahose-dev-5.amers1.cis.trcloud:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sdp_decahose_dev_11_state\") => {(\"url\") => (\"http://sdp-decahose-dev-11.amers1.cis.trcloud:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sdp_decahose_dev_12_state\") => {(\"url\") => (\"http://sdp-decahose-dev-12.amers1.cis.trcloud:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sdp_decahose_dev_1_state\") => {(\"url\") => (\"http://sdp-decahose-dev-1.amers1.cis.trcloud:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sdp_decahose_dev_2_state\") => {(\"url\") => (\"http://sdp-decahose-dev-2.amers1.cis.trcloud:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sdp_decahose_dev_3_state\") => {(\"url\") => (\"http://sdp-decahose-dev-3.amers1.cis.trcloud:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sdp_decahose_dev_4_state\") => {(\"url\") => (\"http://sdp-decahose-dev-4.amers1.cis.trcloud:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sanji_04_state\") => {(\"url\") => (\"http://sanji-04.int.westgroup.com:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"sanji_05_state\") => {(\"url\") => (\"http://sanji-05.int.westgroup.com:1055/xstatus\"), (\"codec\") => (\"line\")}, (\"pavlik_11_state\") => {(\"url\") => (\"http://pavlik-11.int.westgroup.com:1055/xstatus\"), (\"codec\") => (\"line\")}} }, { \"connect_timeout\" => 15 }, { \"request_timeout\" => 120 }, { \"interval\" => 60 }, { \"socket_timeout\" => 60 }, { \"metadata_target\" => (\"http_poller_metadata\") }))\n\n @inputs << @input_http_poller_1\n\n @output_stdout_2 = plugin(\"output\", \"stdout\", LogStash::Util.hash_merge_many({ \"codec\" => (\"rubydebug\") }))\n\n @outputs << @output_stdout_2\n\n def filter_func(event)\n events = [event]\n @logger.debug? && @logger.debug(\"filter received\", :event => event.to_hash)\n events\n end\n def output_func(event)\n @logger.debug? && @logger.debug(\"output received\", :event => event.to_hash)\n @output_stdout_2.handle(event)\n \n end", :level=>:debug, :file=>"logstash/pipeline.rb", :line=>"28", :method=>"initialize"}
{:timestamp=>"2015-11-23T07:46:12.923000-0600", :message=>"Plugin not defined in namespace, checking for plugin file", :type=>"input", :name=>"http_poller", :path=>"logstash/inputs/http_poller", :level=>:debug, :file=>"logstash/plugin.rb", :line=>"133", :method=>"lookup"}
{:timestamp=>"2015-11-23T07:46:13.632000-0600", :message=>"Plugin not defined in namespace, checking for plugin file", :type=>"codec", :name=>"json", :path=>"logstash/codecs/json", :level=>:debug, :file=>"logstash/plugin.rb", :line=>"133", :method=>"lookup"}
{:timestamp=>"2015-11-23T07:46:13.642000-0600", :message=>"Using version 0.1.x codec plugin 'json'. This plugin isn't well supported by the community and likely has no maintainer.", :level=>:info, :file=>"logstash/config/mixin.rb", :line=>"223", :method=>"print_version_notice"}
{:timestamp=>"2015-11-23T07:46:13.644000-0600", :message=>"config LogStash::Codecs::JSON/@charset = \"UTF-8\"", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"112", :method=>"config_init"}
{:timestamp=>"2015-11-23T07:46:13.650000-0600", :message=>"config LogStash::Inputs::HTTP_Poller/@urls = {\"sdp_sane_service\"=>\"http://staton-09.int.westgroup.com:8080/monitor-sa/rest/sdp-sane/cluster/ping\", \"sdp_sane_db\"=>\"http://staton-09.int.westgroup.com:8080/monitor-sa/rest/sdp-sane/cluster/db\", \"sdp_copro\"=>\"http://staton-10.int.westgroup.com:10510/jolokia/read/com.trgr.platform.riptide:type=Registrar/InstanceName\", \"sdp_JMSconsumer\"=>\"http://staton-11.int.westgroup.com:10910/jolokia/read/com.trgr.platform.riptide:type=Registrar/InstanceName\", \"sdp_esconsumer\"=>\"http://sdp-decahose-dev-8.amers1.cis.trcloud:10710/jolokia/read/com.trgr.platform.riptide:type=Registrar/InstanceName\", \"es_blip\"=>\"http://blip.sdp.int.thomsonreuters.com/\", \"es_logging\"=>\"http://logging.sdp.int.thomsonreuters.com/\", \"es_tribe_node\"=>\"http://search.sdp.int.thomsonreuters.com/\", \"porto_state\"=>{\"url\"=>\"http://porto.int.thomsonreuters.com:1055/xstatus\", \"codec\"=>\"line\"}, \"gnosis_state\"=>{\"url\"=>\"http://porto.int.thomsonreuters.com:1055/xstatus\", \"codec\"=>\"line\"}, \"olimp_state\"=>{\"url\"=>\"http://porto.int.thomsonreuters.com:1055/xstatus\", \"codec\"=>\"line\"}, \"sdp_decahose_dev_5_state\"=>{\"url\"=>\"http://sdp-decahose-dev-5.amers1.cis.trcloud:1055/xstatus\", \"codec\"=>\"line\"}, \"sdp_decahose_dev_11_state\"=>{\"url\"=>\"http://sdp-decahose-dev-11.amers1.cis.trcloud:1055/xstatus\", \"codec\"=>\"line\"}, \"sdp_decahose_dev_12_state\"=>{\"url\"=>\"http://sdp-decahose-dev-12.amers1.cis.trcloud:1055/xstatus\", \"codec\"=>\"line\"}, \"sdp_decahose_dev_1_state\"=>{\"url\"=>\"http://sdp-decahose-dev-1.amers1.cis.trcloud:1055/xstatus\", \"codec\"=>\"line\"}, \"sdp_decahose_dev_2_state\"=>{\"url\"=>\"http://sdp-decahose-dev-2.amers1.cis.trcloud:1055/xstatus\", \"codec\"=>\"line\"}, \"sdp_decahose_dev_3_state\"=>{\"url\"=>\"http://sdp-decahose-dev-3.amers1.cis.trcloud:1055/xstatus\", \"codec\"=>\"line\"}, \"sdp_decahose_dev_4_state\"=>{\"url\"=>\"http://sdp-decahose-dev-4.amers1.cis.trcloud:1055/xstatus\", \"codec\"=>\"line\"}, \"sanji_04_state\"=>{\"url\"=>\"http://sanji-04.int.westgroup.com:1055/xstatus\", \"codec\"=>\"line\"}, \"sanji_05_state\"=>{\"url\"=>\"http://sanji-05.int.westgroup.com:1055/xstatus\", \"codec\"=>\"line\"}, \"pavlik_11_state\"=>{\"url\"=>\"http://pavlik-11.int.westgroup.com:1055/xstatus\", \"codec\"=>\"line\"}}", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"112", :method=>"config_init"}
{:timestamp=>"2015-11-23T07:46:13.653000-0600", :message=>"config LogStash::Inputs::HTTP_Poller/@connect_timeout = 15", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"112", :method=>"config_init"}
{:timestamp=>"2015-11-23T07:46:13.655000-0600", :message=>"config LogStash::Inputs::HTTP_Poller/@request_timeout = 120", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"112", :method=>"config_init"}
{:timestamp=>"2015-11-23T07:46:13.657000-0600", :message=>"config LogStash::Inputs::HTTP_Poller/@interval = 60", :level=>:debug, :file=>"logstash/config/mixin.rb", :line=>"112", :method=>"config_init"}
This file has been truncated. show original