that config + a normal passenger/apache install works great for me
subb1 joined the channel
subb1
Hi Logstash.
Stoosh
subb1: howdy
subb1
Using the grok debug app. I'm getting desired results with my grok filter patterns. But from the kibana web interface, the whole log event is stored as in @message field.
my grok patter - %{SYSLOGTIMESTAMP} %{HOSTNAME} %{SYSLOGPROG}: %{GREEDYDATA}
monolive joined the channel
vks
Stoosh: with virualhost in config. will it will be able to use with the I.P
??
Stoosh
remove the servername directive
vks: i just make a dummy domain
foobar.logger
and do a hosts file change
<ip> foobar.logger
that way i don't have to remember the IP
subb1
This was my earlier filter - %{SYSLOGTIMESTAMP:date} %{HOSTNAME:host} %{SYSLOGPROG:program}: %{GREEDYDATA:message}
But it kept adding additional fields to Kibana's interface.
vks
no but if i wan to use only ip then, the above setting would be fine???
Stoosh
yes, just remove the ServerName line
subb1
hope I was clear..
vks
if i remove the server name line , then i would be able to access it from ip and port??? i guess we need to configure it, suppose i don't want to use port other than 80
sry i want to use port other than 80
Stoosh
vks: you would have to change the apache config
_maes_ has quit
by changing Listen 80, to whatever port
monolive has quit
and then changing that in the virtualhost tag *:80
duck_tape joined the channel
vks
which means in that case i can use apache for only one application?
Stoosh
vks: not necessarily
just depends on how you set it up :)
subb1
any hints guys?
Stoosh
subb1: sorry :( all the core guys are all in bed haha
generally by this time
subb1
:(
ok Stoosh
chendo__
does logstash have an archiving to s3 function or something similar?
Stoosh
chendo__: no, what would you be archiving?
chendo__
uh… logs?
like what happens to old indexes?
Stoosh
old indexes?
chendo__
logs
vks
thnx Stoosh
Stoosh
in ES?
chendo__
sure
like generally i wouldn't want to search the entire log history
but i'd like to if i wanted to
Stoosh
in kibana i just load the last 7 days of the index
of indices*
i still keep all the indices in ES just dont use them for searching
chendo__
so.. nothing to archive?
Stoosh
chendo__: there are some bash scripts floating around that can archive