to be honest, I don't know exactly :D I am searching for some kind of best practise to get my logs from servers into kibana to get them sorted by facilities, severities and so on
thats it
I think now I am stuck with syslog-ng again since it duplicates timestamp and hostname again
bastux has quit
I got rid of this before, but now it came back whyever
bastux joined the channel
railsraider has quit
_maes_ has quit
last state was that I had it almost done but syslog-ng sent single lines of logs for 1 message
with that [meta sequenceId="4"] in it
jsvd
single lines or multiple lines?
doug_f joined the channel
oli_144
it were single lines with [meta sequenceId="4"] 5 6 7 in it .. belonging to the same log message
on the client(server) its one message
tchiang joined the channel
doug_f
Is there a good input to check an http endpoint periodicly and send the info somewhere?
jsvd
oli_144: and that's something you want to disable right?
oli_144
in kibana I see 10 entries for 1 logentry with 10 lines
doug_f
I was thinking something like websocket but that does not seem to have a periodic poll option.
bline79 has quit
fabiobatalha joined the channel
tchiang1 joined the channel
jsvd
doug_f: nothing built in for now, either have the webapp do the periodic calling through websockets, or maybe have a script that writes to a file the results every X minutes
piavlo joined the channel
oli_144
jsvd : yes
tchiang has quit
ujjain joined the channel
iElectric
is there a way to tell logstash to drop messages if queue is hits the limit?
oli_144: I'm not that familiar with these things, is there a way in your app to log everything in just 1 line?
oli_144
I am just trying to get "all" logs to kibana, normal linux syslogs
Rumbles
oli_144 from the message jsvd just sent you you should be able to change the way the syslog-ng operates so it doesn't split the messages in to multiple lines, so you don't have to fix them once recieved, I would agree with him that would be the easiest and best way to solve your issue...
oli_144
I tried not to use the legacy network driver, but the newer syslog driver
yarden has quit
fabiobatalha has quit
since I already had the grok thing running for the newer RFC5424 syslogging
dasrecht_off is now known as dasrecht
wolrah_ joined the channel
wolrah has quit
fabiobatalha joined the channel
fabiobatalha joined the channel
habanero has quit
willejs has quit
goschtl has quit
habanero joined the channel
techminer1 has quit
techminer1 joined the channel
ohookins has quit
LordBonkerz has quit
spuder joined the channel
ohookins joined the channel
zebrarage has quit
ohookins has quit
_JZ_ joined the channel
chthon has quit
wnkz joined the channel
fabiobatalha joined the channel
piavlo joined the channel
hoowe has quit
blalor_afk is now known as blalor
willejs joined the channel
tk12_ joined the channel
tchiang1 has quit
Unsoundmind joined the channel
chthon joined the channel
tchiang joined the channel
habanero has quit
zebrarage joined the channel
tomfoolry joined the channel
Rumbles
I have logs coming through at 16:25, the date stamps on the log are 16:25, but in logstash @timestamp is set to 15:25.... and I can't figure out why it is going to UTC time instead of UTC +1
date is correct (i.e. UTC +1) on both sending and logstash server
martbhell
it is always UTC in elasticsearch
use the date filter to match them
koendc has quit
Rumbles
mschmitt joined the channel
Rumbles
I do use the date filter, but the date I want to use is taken from a value in the json of my messages, if the json parser doesn't work the messages go on to default
is there any way to change that/
losh_ joined the channel
infact
even on message that have gone through the date filter ES is still showing the date as UTC time, not the time set in the field that was parsed by the date filter
_maes_ joined the channel
iamchrisf joined the channel
vangap joined the channel
habanero joined the channel
bvi joined the channel
oli_144 has left the channel
kiste has left the channel
http://pastebin.com/YuvFR5kv so for example, here is my config, date filter matches off the timeStamp field, "timeStamp": "2015-04-01 16:35:01.665" and yet "@timestamp": "2015-04-01T15:35:01.665Z"
supersheep has quit
logstashbot
Title: timestamp is reverting to UTC not the time set by date filte - Pastebin.com (at pastebin.com)
piavlo joined the channel
supersheep joined the channel
Rumbles
so it has read the info from timeStamp and set it corectly (the ms are correct) yet the time has gone to UTC time instead of UTC +1 which is correct
JinqiuYu has quit
JinqiuYu joined the channel
wolrah joined the channel
martbhell
ah, yeah i don't know if that's possible
wolrah_ has quit
mleung joined the channel
you could make timeStamp a date field and sort on that instead of @timestamp i suppose
olivierd_ joined the channel
amador joined the channel
olivierd has quit
Rumbles
but each different log type takes it's timestamp value fro a different field
using @timestamp makes sense as that is common for all log types
_Bryan_ has quit
however, changing the time to UTC doesn't make sense
martbhell
kibana auto-corrects it to my local timezone so i don't mind
Rumbles
because for half the year the messages will be an hour out
how is that configured?
martbhell
somewhere in the gui :)
olivierd_ has quit
jsandoval joined the channel
is on by default i think, at least in kibana3 haven't looked at it in k4