Logstash cheat sheet: Difference between revisions

Line 144: Line 144:
       input_type: log
       input_type: log
       document_type: syslog
       document_type: syslog
      fields:
        host: ShipperHostName
      fields_under_root: true


     -
     -
Line 150: Line 153:
       input_type: log
       input_type: log
       document_type: apache
       document_type: apache
      fields:
        host: ShipperHostName
      fields_under_root: true


     -
     -
Line 156: Line 162:
       input_type: log
       input_type: log
       document_type: apache-other-vhost
       document_type: apache-other-vhost
      fields:
        host: ShipperHostName
      fields_under_root: true


     -
     -
Line 162: Line 171:
       input_type: log
       input_type: log
       document_type: apache-error
       document_type: apache-error
      fields:
        host: ShipperHostName
      fields_under_root: true


     -
     -
Line 168: Line 180:
       input_type: log
       input_type: log
       document_type: dpkg
       document_type: dpkg
      fields:
        host: ShipperHostName
      fields_under_root: true


   #registry_file: /var/lib/logstash-forwarder/.logstash-forwarder
   #registry_file: /var/lib/logstash-forwarder/.logstash-forwarder