19:25 PM
Visual` joined the channel
19:25 PM
steveh joined the channel
19:25 PM
bnzmnzhnz joined the channel
19:25 PM
epu joined the channel
19:25 PM
gansbrest joined the channel
19:25 PM
18WAE0IIW joined the channel
19:25 PM
bodgit joined the channel
19:25 PM
widodh joined the channel
19:25 PM
clover-leaf joined the channel
19:25 PM
Knofte joined the channel
19:25 PM
joonas joined the channel
19:25 PM
simmel joined the channel
19:25 PM
bizboo joined the channel
19:25 PM
BeanDip_ joined the channel
19:25 PM
techminer joined the channel
19:25 PM
billdingo joined the channel
19:25 PM
happymcplaksin joined the channel
19:25 PM
phrawzty joined the channel
19:25 PM
pablo__ joined the channel
19:26 PM
beeraydee joined the channel
19:26 PM
bline79_ joined the channel
19:26 PM
Blizzard_
Hmm, it's hard to tell. There is a lot of data being output here.
19:27 PM
I see a discover file.
19:27 PM
but at the end it says, "/filewatch/watch.rb"
19:27 PM
kjstone00 has quit
19:28 PM
beeraydee
anyone have any ideas on how to use lumberjack without an ssl cert/key ?
19:28 PM
Blizzard_
whack: so it looks like it's working, but it cannot find the file.
19:29 PM
whack: I'm not sure how to limit the debug to only show me where the sincedb is.
19:29 PM
whack: I have this setup and running as the "Standalone" version for right now.
19:30 PM
beeraydee
nevermind. i think i found it.
19:31 PM
Blizzard_
anyone else have any ideas where the sincedb maybe on a windows machine?
19:31 PM
avelldiroll has quit
19:31 PM
whack
Blizzard_: ok so, I think you're down a rathole here.
19:31 PM
Blizzard_: I'm guessing you're *not* appending to that file.
19:31 PM
beeraydee: lumberjack cannot be used without ssl.
19:31 PM
Blizzard_
whack: correct, it's a static file.
19:32 PM
whack
using lumberjack without certificates or validation defeats the purpose of the S in SSL ;)
19:32 PM
Blizzard_
whack: I wanted logstash to import it to see what the output looks like in logstach
19:32 PM
whack
Blizzard_: yeah agreed, this is weird
19:32 PM
Blizzard_: I'm not near a windows workstation at the moment, but this should work
19:32 PM
Blizzard_: can you pastebin your debug log output from logstash?
19:32 PM
is-mw2 has quit
19:32 PM
maybe I can figure out what's going on from that
19:32 PM
Sieb is now known as _Sieb
19:32 PM
Blizzard_
whack: there is a ton of output on the cmd line
19:33 PM
whack
Blizzard_: yes, can you pastebin it?
19:33 PM
Blizzard_
whack: so it's not easy to see where that file is.
19:33 PM
Sure.
19:33 PM
whack
I'll dig through it ;)
19:33 PM
byork_ joined the channel
19:34 PM
Blizzard_
19:34 PM
logstashbot
Title: de][87KOHMyFQA6eFqfhKXZRcQ][inet[/10.26.83.109:9301]]{client=true, data=false}]) -
Pastebin.com (at
pastebin.com )
19:34 PM
Blizzard_
whack: keep in mind, windows CMD only has a short buffer.
19:35 PM
avelldiroll joined the channel
19:35 PM
whack
Blizzard_: you should be able to capture the output though; can't oyu?
19:35 PM
for sure you can in powershell
19:36 PM
Blizzard_
whack: I can try.
19:37 PM
whack: I don't remember the right line to add.
19:37 PM
bline79_ has quit
19:38 PM
whack
ok, progress!
19:38 PM
36m_discover_file_glob: C:\logstash\test_log_file\*: glob is: []
19:38 PM
that log message means that no files were found matching that path
19:38 PM
which could mean a few things
19:38 PM
1) logstash doesn't have permission to read it somehow
19:38 PM
2) there's a bug
19:38 PM
I can try to walk you through a few things to help identify the cause
19:39 PM
run 'java -jar logstash.jar irb' from the command line
19:39 PM
(replace logstash.jar with whatever your actual jar file name is)
19:40 PM
'irb' is a ruby shell and we can try to reproduce your problem from there
19:41 PM
Blizzard_
Ok
19:41 PM
whack
nyou should see a little text prompt like ">> "
19:41 PM
or something
19:41 PM
brb, cleaning up the kid from lunch
19:41 PM
err, not yet, false alarm heh
19:42 PM
Can you try this:
19:42 PM
p Dir.glob('C:\logstash\test_log_file\*')
19:44 PM
rustyrazorblade has quit
19:44 PM
Blizzard_
Ok, I have it running as you said.
19:44 PM
quatron joined the channel
19:45 PM
whack
what's the output if you run that above 'p' command?
19:45 PM
p Dir.glob('C:\logstash\test_log_file\*')
19:45 PM
brooks_
19:45 PM
Blizzard_
It shows
19:45 PM
logstashbot
19:45 PM
Blizzard_
[}
19:45 PM
=> []
19:45 PM
irb(main):002:0>
19:46 PM
pablo__ has quit
19:46 PM
whack
ou can paste the output here for this stuff; just to make it simpler ;)
19:46 PM
brooks_
whenever I try to use that line, it doesn't import any data, no _grokparse error or anything, just no importing of data
19:46 PM
whack
Blizzard_: ok that's sorta what I expected. Next step:
19:46 PM
Blizzard_: p Dir.new('C\logstash\test_log_file\').to_a
19:47 PM
beeraydee
19:47 PM
logstashbot
Title: Bark At The Moon (Full Album With Bonus Tracks) - YouTube (at
www.youtube.com )
19:47 PM
whack
brooks_: what error do you get?
19:47 PM
oh duh you just said that.
19:48 PM
brooks_
whack: absolutely nothing =/ nothing in the logs, even when I output to stdout, it appears the log entry gets parsed into JSON but just flat out doesn't display in kibana
19:48 PM
carlobarbara joined the channel
19:48 PM
_Sieb is now known as Sieb
19:48 PM
Blizzard_
whack: I got this output = irb(main):003:1'
19:49 PM
whack
brooks_: "it appears" how are you observing that?
19:49 PM
oh, stdout
19:49 PM
man, my brain today. Sorry ;)
19:49 PM
brooks_
whack: no worries : )
19:49 PM
whack
Blizzard_: sounds like you made a typo.. or I did.
19:49 PM
Blizzard_: yeah I made a typo
19:50 PM
Blizzard_: break out (control C) and restart the process
19:50 PM
or just contrl-c might drop you at the >> prompt again
19:50 PM
mveitas
Correct me if I am wrong, but Dir.mkdir does not create directories recursively?
19:50 PM
whack
Blizzard_: p Dir.new('C\logstash\test_log_file').to_a
19:50 PM
mveitas: correct
19:51 PM
plasmonyc has quit
19:51 PM
concertman has quit
19:51 PM
epu has left the channel
19:51 PM
mveitas
Then a small PR to use FileUtils.mkdir_p "/opt/logstash/S3_temp" is in order. If you don't have that directory created the S3 output plugin fails
19:51 PM
concertman joined the channel
19:51 PM
Blizzard_
whack: should it be p Dir.new('C:\logstash\test_log_file').to_a
19:51 PM
whack: ?
19:51 PM
plasmonyc joined the channel
19:51 PM
gyre007 has quit
19:51 PM
brooks_ is now known as brooks
19:52 PM
whack
Blizzard_: yeah sorry I can't type today. Yes.
19:53 PM
hugespoon has quit
19:53 PM
Blizzard_
whack: I got this output = irb(main):002:1'
19:53 PM
whack
confusing
19:53 PM
hugespoon joined the channel
19:54 PM
hmm
19:54 PM
it thinks you have an open quotation or parenthesis for some reason
19:55 PM
gster
Does anyone know why a multiline filter add_tag parameter would be added to an event even though the multiline pattern defined does not match ?
http://pastebin.com/ZUuwq6uh
19:55 PM
logstashbot
19:55 PM
whack
avleen: you said you had speed problems with lots of fields, how many is lots? What number did you drop to ti get better performance?
19:55 PM
gster: I think that was a bug filed a short while ago; I think it's fixed now
19:56 PM
Blizzard_
whack: I was able to get the whole output with debug finally.
19:56 PM
whack: let me get that over to you.
19:56 PM
whack
gster: what version are you using?
19:56 PM
gster
whack: Ok make sense then, I am usinf 1.1.13
19:56 PM
whack
gster: ahh, yeah that was fixed in... one sec
19:57 PM
Katafalkas has quit
19:57 PM
Katafalkas joined the channel
19:57 PM
gansbrest has quit
19:57 PM
carlobarbara has quit
19:58 PM
acline has quit
19:58 PM
Blizzard_
whack: I got the output. We needed to use double quotes.
19:58 PM
whack
gster: that was fixed in the latest release
19:59 PM
Blizzard_
whack: I got an output of "No such file or directory"
19:59 PM
whack
Blizzard_: so, "C:\\logstash\\test_whatever" ?
19:59 PM
you'll have to escape the \ if you use double quoets
19:59 PM
Blizzard_: p Dir.new("C\\logstash\\test_log_file").to_a
19:59 PM
gster
whack: Great. Thank you.
20:00 PM
whack
agaldfjladfjks I can't type today