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/6424ac65-0bd3-4754-aa1c-313130c2b330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to