Closed mikl closed 9 years ago
Hello Mikl, I am totally new to graylog2-web interface. I created one logstash config file in a server as below:-
vi /opt/logstash-agent.conf
input{ file { type => "app" path => ["/opt/app/jboss-eap-5.1/jboss-as/server/default/log/swiftConfigurator.log", "/opt/app/jboss-eap-5.1/jboss-as/server/default/log/server.log.*"] } } filter{ grep { type => "app" match => ["@source_host", "xxxxx.xxxxxecom.com"] negate => true } } output { gelf { host => "x.x.x.x" port => "12201" facility => "%{@type}" } }
Now, I can see this hostname coming under "Hosts" page in graylog2 web interface as "Monitored Hosts". But When I click on this , it doesn't show messages only from that host. The Quick Filter also shows 0 messages.
Kindly kindly please please help..i m stuck in the middle due to this.
@nsahu This is not the appropriate forum to ask graylog2 support questions.
You'll get help and support from either stackoverflow.com:
http://stackoverflow.com/questions/tagged/graylog2
or any of the resources listed here:
Thanks.
Thanks Mike,
Thanks for the quick reply.
Regards,
On Tue, Nov 20, 2012 at 3:40 AM, Clay Smith notifications@github.comwrote:
@nsahu https://github.com/nsahu This is not the appropriate forum to ask graylog2 support questions.
You'll get help and support from either stackoverflow.com:
http://stackoverflow.com/questions/tagged/graylog2
or any of the resources listed here:
Thanks.
— Reply to this email directly or view it on GitHubhttps://github.com/flite/winston-graylog2/issues/12#issuecomment-10533480.
Another option is to use https://github.com/egorFiNE/node-graylog or https://github.com/stelcheck/node-graylog2 Though I'm not sot sure which is the best of these 3 options :)
One more option is: https://github.com/wavded/graygelf Looks best so far.
It seems that it has been already done in another package: https://github.com/danmilon/winston-graylogger
Hello everybody, I come in piece form Namshi: the new maintainer of the lib. We recently completed the and over of the git repo and we're waiting to be added tot he npm registry for its package. Meanwhile we pushed a branch and opened a PR with what's gonna happen to the lib and we'd love to ear form the current users!
cheers lucio
Instead of implementing the GELF protocol yourself, you might consider using gelf-node – I've found this to be a well tested and good implementation of GELF :+1: