Error received from logstash-rss-input [`Error: tag <link> is too much in tag <channel>`]

(Bryan K) #1

Receiving an error [Error: tag <link> is too much in tag <channel>] when adding my simple rss input configuration:


input {
  rss {
    url => ""
    interval => 6000

Error received:

Error: tag <link> is too much in tag <channel>

Full Error Dump:

{:timestamp=>"2015-09-02T20:41:30.595000+0000", :message=>"A plugin had an unrecoverable error. Will restart this plugin.\n Plugin: <LogStash::Inputs::Rss url=>\"\", interval=>6000, debug=>false, codec=><LogStash::Codecs::Plain charset=>\"UTF-8\">>\n Error: tag <link> is too much in tag <channel>", :level=>:error}

Not sure what's wrong but hopefully someone here can help! Thanks in advance!

(Bryan K) #2
<link rel="alternate" href="" type="application/rss+xml" title="Amazon Web Services Status Feed"/> 

Looking at the RSS feed itself, I am beginning to understand this error... it sounds like it's complaining because there are too many <link> elements within the <channel> element it's raising the error.

Raised if there are more occurrences of the tag than expected.

Any suggestions on how to overcome this ? Perhaps with a filter? Thanks in advance, any help is appreciated!

(Mark Walkom) #3

The feed needs to pass through the input to filter it though, so I don't think you have many options.
This might be something worth putting in a GH issue for the plugin.

(system) #4