Skip to content
Snippets Groups Projects
  1. Dec 28, 2021
    • Radosław Piliszek's avatar
      Fluentd cleanup · df2a29e4
      Radosław Piliszek authored
      We no longer have to support multiple fluentd versions and rely
      on the workaround.
      
      Change-Id: Id4083a9f07317fc04467e52176850f3909703169
      df2a29e4
  2. Dec 09, 2019
    • Mark Goddard's avatar
      Fix fluentd parsing of WSGI logs · a32cddca
      Mark Goddard authored
      WSGI log files use a different input configuration than OpenStack log
      files. Currently this depends on log files matching either *-access.log
      or *-error.log. Some services use *_access.log or *_error.log, so are
      not parsed correctly.
      
      This change modifies the fluentd configuration to accept an underscore
      or hyphen for WSGI log file names.
      
      Change-Id: I566d6cac0b6749054fd5422ec8f36f99dacb1db7
      Closes-Bug: #1720371
      a32cddca
  3. Aug 22, 2019
  4. Feb 22, 2019
  5. Oct 13, 2017
    • Doug Szumski's avatar
      Standardise log field naming · 571e4fca
      Doug Szumski authored
      Use the same field name for extracting all log messages to make it
      simpler to parse the output from fluentd.
      
      Closes-Bug: #1723459
      
      Change-Id: I55b86061c8f70b25cf88e394fdfc78fa3c85c79f
      571e4fca
  6. Sep 18, 2017
    • Bertrand Lallau's avatar
      Fluentd: reduce CPU and I/O consumption · 498dab24
      Bertrand Lallau authored
      Disable the additional watch timer (enable_watch_timer).
      Setting this parameter to false will significantly reduce CPU and I/O
      consumption when tailing a large number of files on systems with inotify
      support.
      
      Change-Id: Ib432e6cdece01dbb94b3d2f3d7fbdd04b81d25fa
      498dab24
  7. Aug 29, 2017
    • Bertrand Lallau's avatar
      Fluentd: rework and fix tail source config · eab91d42
      Bertrand Lallau authored
      Actually a unique 'tail' source is used for all logs files in
      kolla/*/*.log.
      
      So log files from services like: chrony, elasticsearch, etcd, grafana,
      influxdb, kibana, mongodb... are actually processed by our Fluentd
      config, but should not cause all following config will failed to parse
      them. It just uses CPU for nothing cause they will
      never match the following filters:
      * record_transformer => add Hostname, Logger, programname field
      * rewrite_tag_filter => rewrite 'programname' TAG if needed
      
      Hence these filters should only be applied to Openstack services logs to
      avoid CPU usage.
      
      Furthermore WGI and Apache logs files must be treated differently.
      
      Change-Id: I425979160291e1123e3775e39243bca06ed22c2f
      Closes-Bug: #1711390
      eab91d42
Loading