soulair: ./logstash --help for the next time you forget :)
Knuit
rastro: works fine with %{DATA} in the debugger where %{QS} does not, testing it in LS now
rastro
Knuit: i would hope it would fail in LS, too.
Knuit
It does in fail with %{QS} in LS, yeah
zebrarage has quit
asimzaidi has quit
soulair
rastro that rocks!
asimzaidi joined the channel
ycombinator joined the channel
SKIrcBot joined the channel
side_control joined the channel
gmarnin joined the channel
SKIrcBot has quit
rastro
Knuit: i love regular expressions, but the %QS is way too weird for me.
SKIrcBot joined the channel
SKIrcBot has quit
piavlo joined the channel
danzilio joined the channel
thehybridtech joined the channel
Hestil has quit
thehybridtech
Is there any good article or documentation on how Logstash combines multiple config files
SKIrcBot joined the channel
sfeinste joined the channel
asimzaidi
rastro…ok I got it
it was the version difference
Bo7a
in my experience it works kinda like cat * > conf
thehybridtech
I am using alphanumeric patterns on my file name to sort... ie 40<name>.conf goes befor 60<name>.conf
asimzaidi
once I changed to 1.4.2 it works
thanks for your help
I just need to make sure that we have current version
with Es
thehybridtech
Bo7a... That was my experience too but I am seeing weird behavior with 1.5RC3 and I can't seem to lock it down...
soulair
has anyone ever seen a stat.st_dev error when using the file input?
rtoren joined the channel
radiocats joined the channel
hemphill joined the channel
rtoren_ has quit
thehybridtech
I am up to 2468 lines in my config so dividing and symlinking is really important for clarity sake. Was there any changes to how it is config is combined?
huddy has quit
radiocats joined the channel
duffrecords has quit
duffrecords1 joined the channel
sindarina has quit
mpnoob joined the channel
Hestil joined the channel
soulair
this is the error stat.st_dev error while using the file input.
Title: logstash - open source log management (at logstash.net)
SKIrcBot joined the channel
SKIrcBot has quit
habanero joined the channel
thehybridtech
rastro... Not exactly sure how to describe it. I have a gsub that is puts "SPLITLINE" in sections that I need to split at. I then run split later in the config and it works. This was working in RC2. If I move the split pattern later in the process (Another file) it works... SPLITLINE shows up in the sections that were supposed to be split so I know GSUB worked at one point.
spuder joined the channel
rastro
thehybridtech: is the first gsub conditional on anything that maybe doesn't exist yet?
Hestil joined the channel
hemphill has quit
thehybridtech
rastro: no. Log I am parsing has epochstamp with a timestamp following after the controller loads up... I basically do a multiline on file input to put all the epochstamps with the timestamp; split the epoch into multiple sections (Config/State/Load Logs). The gsub handles that function by adding SPLITLINE. I then SPLIT again on every line once the data I need has been extracted from each section. The split I am having
problems with is the first split following the SPLITLINE add.
JAS... Let me add a basic config on pastebin
petn-randall
I had a typo in my grok line. Is there a possibility to reparse all entries that are tagged "_grokparsefailure"?
rastro
petn-randall: i haven't done it, but you could select them with the elasticsearch{} input.
cjs226 has left the channel
petn-randall
rastro: I see, but how do I "trigger" it? Or does it continuously poll from ES?
walterheck has quit
rastro
petn-randall: as an input, it will run the query against ES.
petn-randall: each document it finds should become an event for LS to process.
goschtl joined the channel
kjstone00_ joined the channel
petn-randall: when you output, use the document's original ID and it will update it. Or, let it go with a new ID and delete the old ones when you're done.
Schwarzbaer joined the channel
petn-randall
rastro: So the actual query against ES will only be done once at start, right?
rastro: Because if ES pushes new results continuously, I could easily end up with an endless loop, which I'd like to avoid.
rastro
petn-randall: not so sure, because there is a 'size' param that defaults to 1000 records to process.
soulair
When using stdin as an input, would i just pipe output of a cat command into logstash in /opt/logstash/bin/logstash?
rastro
petn-randall: your new records shouldn't have the GPF, and, if you update, the old ones won't either.
soulair: or paste to stdin, either one.
soulair
sweet
petn-randall
rastro: I also see the scroll parameter, which is some sort of timer.
soulair
well my agent is running as a service, does that affect anything?
effect*
rastro
soulair: yes, it means you don't have a stdin. run it from the command line.
petn-randall: are the old records worth the hassle? Can you delete them and reimport them?
petn-randall
rastro: "could". I could drop the records, and push them via rsylog again. But I'm guessing just reparsing is easier.
soulair
rastro: thanks, im doing that now. you didnt happen to see that error I posted earlier?
rastro
soulair: don't think so.
mleung joined the channel
soulair
rastro: so it is when I am using a file input. its happened on two different ELK configurations now. here is the error pastebin. http://pastebin.com/LSER3eax
logstashbot
Title: NotImplementedError: stat.st_dev unsupported or native support failed to load - Pastebin.com (at pastebin.com)