# Logstash-input-rss undefined method author

**URL:** <https://discuss.elastic.co/t/logstash-input-rss-undefined-method-author/56916>\
**Category:** Logstash\
**Created:** [August 1, 2016, 5:56pm UTC](https://discuss.elastic.co/t/logstash-input-rss-undefined-method-author/56916 "2016-08-01T17:56:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_McAfee](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@John\_McAfee](https://discuss.elastic.co/u/John_McAfee)\
**Post date:** [August 1, 2016, 5:56pm UTC](https://discuss.elastic.co/t/logstash-input-rss-undefined-method-author/56916/1 "2016-08-01T17:56:37Z")

</div>

I am using logstash 2.3.4 with the rss plugin.  
My config file is as follows:

input {  
rss {  
interval =\> 600  
url =\> "[http://advances.sciencemag.org/rss/current.xml](http://advances.sciencemag.org/rss/current.xml)"  
}  
}

When I start logstash, I get the following error message:  
Plugin: \<LogStash::Inputs::Rss interval=\>600, url=\>"[http://advances.sciencemag.org/rss/current.xml](http://advances.sciencemag.org/rss/current.xml)", codec=\>\<LogStash::Codecs::Plain charset=\>"UTF-8"\>\>  
Error: undefined method `author' for #RSS::RDF::Item:0x7e227c79 {:level=\>:error}

Is this something that can be fixed in the plugin, or is there some additional  
configuration I need to add?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 1, 2016, 8:48pm UTC](https://discuss.elastic.co/t/logstash-input-rss-undefined-method-author/56916/2 "2016-08-01T20:48:18Z")

</div>

There was a recent commit (below) that fixed a problem where it was assumed that posts had authors, but AFAICT that was only for Atom feeds and this feed doesn't look like an Atom field. Which version of the rss plugin are you using?

> <https://github.com/logstash-plugins/logstash-input-rss/commit/1a4fae1377a3167ddc48d2c5e2234882540df131>

---

<div class="post-metadata">

**Author:** ![John\_McAfee](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@John\_McAfee](https://discuss.elastic.co/u/John_McAfee)\
**Post date:** [August 2, 2016, 1:25pm UTC](https://discuss.elastic.co/t/logstash-input-rss-undefined-method-author/56916/3 "2016-08-02T13:25:58Z")

</div>

Using the logstash list --verbose command,  
it says that I am using logstash-input-rss(2.0.5). If this is not the latest version,  
I will try my rss feed again with the latest update. Thank you very much for the feedback!

---

<div class="post-metadata">

**Author:** ![John\_McAfee](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@John\_McAfee](https://discuss.elastic.co/u/John_McAfee)\
**Post date:** [August 2, 2016, 6:03pm UTC](https://discuss.elastic.co/t/logstash-input-rss-undefined-method-author/56916/4 "2016-08-02T18:03:04Z")

</div>

I have a question. when I run the the command to update the plugin  
logstash-plugin update logstash-input-rss

I am asked if I would like to update to version 3.0.1, which I accept( respond Y).

But when I check the plugin version with this command (after running the update)  
logstash-plugin list --verbose --group input it still says version 2.0.5.

Am I doing something wrong? I even removed it and installed it  
completely again with logstash-plugin install logstash-input-rss which also gave version 2.0.5

---

<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, 4:45am UTC](https://discuss.elastic.co/t/logstash-input-rss-undefined-method-author/56916/5 "2017-07-06T04:45:13Z")

</div>


