Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56089

Syslog indexer type sends incorrect value for $HOST

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • logstash-plugin
    • None
    • Jenkins lts 2.150.2 , logstash 2.3.0

      Hi,

       

      When using logstash to send to our syslog server, the $HOST tag/attribute is incorrectly being set to whatever the target logging host is instead of the jenkins host.

       

      E.g., we say we have a jenkins host jsci01 and a syslog logger host logger01.

      Setting the syslog destination file to ${HOST}_jenkins.log you would expect to be jsci01_jenkins.log , but instead when using logstash it sends to logger01_jenkins.log .

       

      Using the same settings (logger01, udp, RFC3164), the $HOST attribute is set to the jenkins host as expected when using the somewhat dated syslog-logger plugin.

       

            jbochenski Jakub Bochenski
            benfiedler Ben Fiedler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: