Hi Sridhar, Which GELF appender are you using? Did you configure a GELF UDP or a GELF TCP input in Graylog? How did you configure these inputs? Did you check your firewall rules to allow access on port 12201/tcp or 12201/udp?
Cheers, Jochen On Thursday, 2 February 2017 16:21:08 UTC+1, Sridhar wrote: > > Hi, > > I am very new to graylog. I am using following configuration, > > Virtualbox version: Version 5.1.14 r112924 (Qt5.6.2) > Graylog OVA file: graylog-2.1.3-1 > > I am able to open Graylog web interface with out any issue and I am using > the following logging configuration for sending messages from my local java > application to Graylog. > > <?xml version="1.0" encoding="UTF-8" ?> > <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> > <log4j:configuration debug="true" > xmlns:log4j='http://jakarta.apache.org/log4j/'> > > <appender name="file" class="org.apache.log4j.RollingFileAppender"> > <param name="append" value="false" /> > <param name="maxFileSize" value="10KB" /> > <param name="maxBackupIndex" value="5" /> > <!-- For Tomcat --> > <param name="file" value="myapp.log" /> > <layout class="org.apache.log4j.PatternLayout"> > <param name="ConversionPattern" value="%d{yyyy-MM-dd HH:mm:ss} %-5p > %c{1}:%L - %m%n" /> > </layout> > </appender> > > <appender name="graylog2" class="org.graylog2.log.GelfAppender"> > <param name="graylogHost" value="10.12.121.44" /> > <param name="originHost" value="localhost" /> > <param name="extractStacktrace" value="true" /> > <param name="addExtendedInformation" value="true" /> > <param name="facility" value="gelf-java" /> > <param name="Threshold" value="INFO" /> > <param name="additionalFields" value="{'environment': 'DEV', > 'application': 'MyAPP'}" /> > </appender> > > <root> > <level value="ERROR" /> > <appender-ref ref="file" /> > <appender-ref ref="graylog2" /> > </root> > > </log4j:configuration> > > When I run the application, I can see the input message count coming from > my java application on top right corner of the web interface, but I am not > able to find the source name under Top Sources section. Could any one know > what is the issue here? > > Please find the attachment for more details, I have highlighted the input > and source sections with red color > > Your help is much more appreciated. > > Thanks, > Sridhar > > > -- You received this message because you are subscribed to the Google Groups "Graylog Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/graylog2/490b60cc-d483-4750-b240-c8b9f59b0a9a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
