Logstash cheat sheet: Difference between revisions

Line 145: Line 145:
       input_type: log
       input_type: log
       document_type: syslog
       document_type: syslog
      # add host field for LSF comptibility.
       fields:
       fields:
         host: ShipperHostName
         host: ShipperHostName
Line 154: Line 155:
       input_type: log
       input_type: log
       document_type: apache
       document_type: apache
      # add host field for LSF comptibility.
       fields:
       fields:
         host: ShipperHostName
         host: ShipperHostName
Line 163: Line 165:
       input_type: log
       input_type: log
       document_type: apache-other-vhost
       document_type: apache-other-vhost
      # add host field for LSF comptibility.
       fields:
       fields:
         host: ShipperHostName
         host: ShipperHostName
Line 172: Line 175:
       input_type: log
       input_type: log
       document_type: apache-error
       document_type: apache-error
      # add host field for LSF comptibility.
       fields:
       fields:
         host: ShipperHostName
         host: ShipperHostName
Line 181: Line 185:
       input_type: log
       input_type: log
       document_type: dpkg
       document_type: dpkg
      # add host field for LSF comptibility.
       fields:
       fields:
         host: ShipperHostName
         host: ShipperHostName