and if there's no need to quote, then it should be match => [ "event_timestamp", "yyyy-MM-ddTHH:mm:ssZZ" ]
right?
BaM`
no, you need to quote
otherwise the date filter will barf because it doens't know what a T is in joda syntax
crazyphil
anyone here run LS 2.0 yet?
torrancew
BaM` has been trying to
rastro
BaM`: the example with the T makes it through the ISO8601 format just fine...
rastro bets 10:1 that it's the conditional...
crazyphil
I'm having a heck of a time figuring out my new config file foramt
All I get is this: Error: Something is wrong with your configuration.
goschtl has quit
torrancew
rastro: you talking grok or date?
rastro
torrancew: date{}
torrancew
I should really finish the joda debugger I was working on
debugging date{} can be a real PITA
rastro
i took robak's sample event_timestamp and ran it through just his date{} and it works.
crazyphil
no kidding
robak
rastro: so, am I doing something wrong?
JDiPierro has quit
BaM`
rastro: oh - heh
I didn't test his original
torrancew: that would be awesome - I hate debugging date {} too
torrancew
hey guys, that csv filter may be relevant
he parses a field called "event_timestamp" *after* the date filter
dancleinmark has quit
BaM`
damn - I didn't notice the scrollbar ...
dancleinmark joined the channel
swap date <-> csv filters then?
rastro
wait - the whole config is important??
torrancew
possibly. I can't tell what else may be relevant, not enough prior context
robak
BaM`: I tried your example, and it doesnt work
dancleinmark has quit
BaM`: data from yesterday is with today's index name
dancleinmark joined the channel
crazyphil
ok, found the lats of my problems, LS2.0 running finally
dancleinmark has quit
paramski has quit
torrancew
robak: what does a raw input line look like before logstash gets it?
dancleinmark joined the channel
NoodlesNZ has quit
robak
torrancew: its a csv
BaM`
yeah you need to run the csv filter before the date filter
otherwise, how will it parse the event_timestamp field before it exists?
robak
BaM`: how do I order that?
BaM`
swap the lines around
paramski joined the channel
robak
:)
lets try that
dm3 has quit
shpoont joined the channel
dancleinmark has quit
levisbakalinsky joined the channel
bleskes joined the channel
shpoont joined the channel
shpoont has quit
palecur joined the channel
instilled has quit
palecur has left the channel
shpoont joined the channel
shpoont has quit
shpoont joined the channel
shpoont has quit
dendazen_ has quit
MitchCapper has quit
BaM`: it works!
you're awesome guys, thanks a lot for your help!
zoid_ has quit
BaM`
+1 internet points for torrancew
robak
crap, now document_id stopped working...
radiocats has quit
shpoont joined the channel
I've that in logstash-indexer output for elasticsearch: document_id => "%{conviva_session_id}"
it used to work before, and it doesnt now...
shpoont has quit
torrancew
robak: paste us an updated copy of your config?
fpgrav has quit
itgold joined the channel
daito joined the channel
jerryitt has quit
itgold
hello
I'm using rss-input plugin and some rss feeds getting imported fine but some just gives me an error
Error: undefined method `force_encoding' for nil:NilClass {:level=>:error} A plugin had an unrecoverable error. Will restart this plugin. Plugin: <LogStash::Inputs::Rss interval=>1800, url=>"http://www.netbsd.org/support/secu...;, tags=>["rss"], type=>"netbsd", debug=>true, codec=><LogStash::Codecs::Plain charset=>"UTF-8">> Error: undefined method `force_encoding' for nil:NilClass {:level=>:error}