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

**URL:** <https://discuss.elastic.co/t/error-received-from-logstash-rss-input-error-tag-link-is-too-much-in-tag-channel/28559>\
**Category:** Logstash\
**Created:** [September 2, 2015, 9:09pm UTC](https://discuss.elastic.co/t/error-received-from-logstash-rss-input-error-tag-link-is-too-much-in-tag-channel/28559 "2015-09-02T21:09:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryankaraffa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bryankaraffa/32/4551_2.png) [@bryankaraffa](https://discuss.elastic.co/u/bryankaraffa)\
**Post date:** [September 2, 2015, 9:09pm UTC](https://discuss.elastic.co/t/error-received-from-logstash-rss-input-error-tag-link-is-too-much-in-tag-channel/28559/1 "2015-09-02T21:09:15Z")

</div>

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

/etc/logstash/conf.d/02-rss-input.conf

```
input {
  rss {
    url => "http://status.aws.amazon.com/rss/all.rss"
    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=>\"http://status.aws.amazon.com/rss/all.rss\", 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!

---

<div class="post-metadata">

**Author:** ![bryankaraffa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bryankaraffa/32/4551_2.png) [@bryankaraffa](https://discuss.elastic.co/u/bryankaraffa)\
**Post date:** [September 2, 2015, 9:14pm UTC](https://discuss.elastic.co/t/error-received-from-logstash-rss-input-error-tag-link-is-too-much-in-tag-channel/28559/2 "2015-09-02T21:14:26Z")

</div>

> [@bryankaraffa](#):
>
> [http://status.aws.amazon.com/rss/all.rss](http://status.aws.amazon.com/rss/all.rss)

```
<channel>
.....
<link>http://status.aws.amazon.com/</link>
<link rel="alternate" href="http://status.aws.amazon.com/rss/all.rss" type="application/rss+xml" title="Amazon Web Services Status Feed"/> 
.....
</channel>

```

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.

> RSS::TooMuchTagError  
> Raised if there are more occurrences of the tag than expected.  
> [Class: RSS::TooMuchTagError (Ruby 2.0.0)](http://ruby-doc.org/stdlib-2.0.0/libdoc/rss/rdoc/RSS/TooMuchTagError.html)

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

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [September 3, 2015, 6:18am UTC](https://discuss.elastic.co/t/error-received-from-logstash-rss-input-error-tag-link-is-too-much-in-tag-channel/28559/3 "2015-09-03T06:18:03Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 5:30am UTC](https://discuss.elastic.co/t/error-received-from-logstash-rss-input-error-tag-link-is-too-much-in-tag-channel/28559/4 "2017-07-06T05:30:17Z")

</div>

Closed on July 6, 2017, 5:30am UTC


