Giter VIP home page Giter VIP logo

Comments (8)

jalogisch avatar jalogisch commented on July 30, 2024

+1 run in this error too ... fixed it by using logstash in the middle and send gelf messages via amqp to graylog (i need this for other logfiles, so nothing new for me) ...

from graylog2-server.

lennartkoopmann avatar lennartkoopmann commented on July 30, 2024

Looking into this, thanks.

from graylog2-server.

arugifa avatar arugifa commented on July 30, 2024

It seams to be a problem with the parseHost() function in SyslogProcessor.java. This function returns msg.getHost(), and so, the problem is not specific to graylog2-server but to syslog4j (org.productivity.java.syslog4j.server.SyslogServerEventIF).

But if we replace "return msg.getHost()" by "return remoteAddress.getHostAddress()", the problem is solved :)

from graylog2-server.

kroepke avatar kroepke commented on July 30, 2024

we will address this in the syslog parser rewrite. i'll add your example as a test case.

from graylog2-server.

huksley avatar huksley commented on July 30, 2024

FYI: The same issue exists in 0.11.0 build. I encounter process name with PID instead of host name.

from graylog2-server.

littletiti avatar littletiti commented on July 30, 2024

Hi,

The problem is present in last version :( in 0.12

 Find a solution : in rsyslog :+1:

$template GRAYLOG2,"<%PRI%>1 %timegenerated:::date-rfc3339% %HOSTNAME% %syslogtag% - %APP-NAME%: %msg:::drop-last-lf%\n"
$ActionForwardDefaultTemplate GRAYLOG2

from graylog2-server.

lennartkoopmann avatar lennartkoopmann commented on July 30, 2024

This can be solved in v0.20.0 using the newly introduced extractors!

from graylog2-server.

piesu avatar piesu commented on July 30, 2024

I just encoutered this issue in graylog 2.0.0-beta.1.
Shouldn't source by default have ip instead of trying to extract from syslog msg?

from graylog2-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.