-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined method for nil:NIlClass #24
Comments
Hi @DBARUNNER , Were you able to fix this? I'm facing the same issue with any RSS Feed I through at it, logstash 5.6.4 Appreciate the sharing! Thanks. |
Ops, bad RSS feeds... Now I have a new one: "tag is too much in tag <item>" |
This is the error I am getting over and over. Similar
|
here is the logstash configuration
input
{
rss
{
interval => 60000
url => "http://internews.org/rss.xml"
type => "tribune"
}
}
filter
{
if [type] == "tribune"
{
ruby
{
code => "require 'digest/md5';
event.set('[@metadata]''[computed_id]', Digest::MD5.hexdigest(event.get('[message]')))"
}
}
}
output
{
stdout { codec => dots }
if [type] == "tribune"
{
elasticsearch
{
hosts => "10.20.1.123"
index => "rss_index_world"
document_type => "tribune"
document_id => "%{[@metadata][computed_id]}"
}
}
when i run it give me the "nown error while parsing the feed {:url=>"http://pashtovoa.com/api/zpktve-put", :exception=>#<NoMethodError: undefined method `items' for nil:NilClass>}
The text was updated successfully, but these errors were encountered: