Skip to content
Snippets Groups Projects
  1. Feb 22, 2019
  2. Jan 23, 2019
  3. Nov 20, 2018
    • Eduardo Gonzalez's avatar
      Fix fluentd input log parser for OpenDaylight · 76482c9a
      Eduardo Gonzalez authored
      OpenDaylight logs have different format than openstack,
      is a karaf log with java error traces.
      This PS add required config to make fluentd parse properly
      ODL logs.
      
      Change-Id: I34fb96c8a424679b3b618f2ff6a840b8dc165bec
      76482c9a
  4. Nov 02, 2018
    • Doug Szumski's avatar
      Monasca specific config for Fluentd · e9a196f7
      Doug Szumski authored
      This commit adds some filters which format logs so that they
      can be correctly sent to the Monasca Log API by the Monasca
      Fluentd plugin. In the future the Fluentd plugin could be
      extended and this config could be removed.
      
      Partially-Implements: blueprint monasca-roles
      Change-Id: I87b6dfb3052d03f87349d30b66078c39d625195d
      e9a196f7
  5. Oct 12, 2018
    • Doug Szumski's avatar
      Forward system logs to Monasca Log API · 58eec5ca
      Doug Szumski authored
      When Monasca is enabled disable direct logging to ElasticSearch and
      send all logs harvested by Fluentd to the Monasca Log API.
      
      This change also cleans up output files which may be left behind when
      the various log forwarding options are enabled / disabled.
      
      Partially-Implements: blueprint monasca-roles
      Change-Id: I7197966c5117176407d60c86c08d3bcea5e8131a
      58eec5ca
  6. Jul 10, 2018
    • Stanislaw Bogatkin's avatar
      Keep timestamp field · 90b886e5
      Stanislaw Bogatkin authored
      There are cases when we can lost original timestamp field given from
      logs, like when we send our logs to the next fluentd forwarder in chain
      of forwarders, it will rewrite our timestamp by default. Save
      `Timestamp` field explicitly to avoid such situation and be able to
      reconstruct messages date and time.
      
      Closes-Bug: #1781046
      Change-Id: I2b4486aedacbe16dc4c0fb2e4e4984bd80e59f2d
      90b886e5
  7. May 21, 2018
  8. Apr 16, 2018
    • Doug Szumski's avatar
      Add support for deploying Kafka · 6647ed81
      Doug Szumski authored
      Projects which may use Kafka include Monasca and Oslo
      messaging. Initially it will be possible to
      deploy a single Kafka cluster which may be shared
      among clients. Support for running multiple Kafka
      clusters may be added in a future change. This
      change also configures logging for Kafka server,
      state-change and controller logs.
      
      Partially-Implements: blueprint monasca-roles
      Change-Id: Iab8d200c2450238f3c0c708d1f4184490f6e6284
      6647ed81
  9. Mar 23, 2018
  10. Jan 03, 2018
    • Eduardo Gonzalez's avatar
      Implement blazar ansible role · 31f7732a
      Eduardo Gonzalez authored
      Add ansible role to deploy blazar
      Add nova filters to allow use of blazar
      
      Change-Id: I6742ddc9a4736f256491dd0cfd31904fa8eb5652
      Implements: blueprint blazar-ansible-role
      31f7732a
  11. Dec 29, 2017
    • Mark Goddard's avatar
      Add ironic inspector to fluentd log collection · 68b2d48f
      Mark Goddard authored
      Previously ironic inspector logs were not being collected, as they are
      stored in /var/log/kolla/ironic-inspector/ rather than
      /var/log/kolla/ironic/. This change modifies the fluentd input
      configuration to use the correct directory.
      
      Also adds the ironic-inspector service to the fluentd programname
      rewrite rule.
      
      Change-Id: Ie5d67f395e4c32fef992e674f2d53dbd6a17f238
      68b2d48f
  12. Dec 18, 2017
  13. Nov 20, 2017
    • Doug Szumski's avatar
      Add missing hostnames to fluentd log messages · fc9f84ea
      Doug Szumski authored
      - Sets the hostname on rabbitmq and mariadb log messages
        according to the local host.
      - Sets the hostname on syslog log messages by extracting it
        from the syslog message. In many cases this will be the
        same as the local host, but it may also be a remote host.
      
      Closes-Bug: #1726596
      Change-Id: If7c53916d5a355b3aac33d6a62d89d02474e8b53
      fc9f84ea
  14. Nov 16, 2017
  15. Oct 24, 2017
    • Doug Szumski's avatar
      Extract log level from syslog · c8984ca3
      Doug Szumski authored
      By default the syslog input plugin won't extract the
      log level from a syslog message. By setting the priority
      key, the log level is extracted.
      
      Partial-Bug: #1725240
      Change-Id: I9ad5f5e1c875ef62b39fbbba7b271d98cee68dd6
      c8984ca3
  16. 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
  17. Oct 06, 2017
    • Doug Szumski's avatar
      Add nova-compute-ironic to fluentd rewrite rules · 249a193b
      Doug Szumski authored
      We want to treat the nova-compute-ironic log in the same way as
      the other nova logs so that it doesn't go missing from fluentd
      output.
      
      Change-Id: I145389cd0cceeed506e2a9c084d290341047c9aa
      Closes-Bug: #1721814
      249a193b
  18. Oct 04, 2017
  19. Sep 28, 2017
    • Tatsuma Matsuki's avatar
      Add fluentd enable option · 03354bc9
      Tatsuma Matsuki authored
      This change adds enable_fluentd option and enables some other log shippers
      to be integrated. When enable_fluentd is "no", syslog server is also disabled.
      Then, this change also adds syslog parameters to use a syslog server
      prepared by users.
      
      Change-Id: I7c83ef7fe30a6b9ab7385bcee953ad07e96b0a83
      Implements: blueprint fluentd-enable-option
      03354bc9
  20. Sep 26, 2017
    • Bertrand Lallau's avatar
      Fluentd: fix Mariadb mysqld_safe log not match · 4bce67c5
      Bertrand Lallau authored
      The following warning logs appears in fluentd container:
      
      [warn]: pattern not match: "170908 21:34:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql/"
      
      This patch fix it
      
      Change-Id: I9820b8c5fd3456ba9c032fdf326c65632d147e50
      Closes-Bug: #1708571
      4bce67c5
  21. Sep 25, 2017
    • Bertrand Lallau's avatar
      Fluentd: fix duplicate log level naming · b649ae92
      Bertrand Lallau authored
      Fluentd config actually used two keywords to named log level:
      "log_level" and "severity_label".
      This doesn't allow to search and sort ALL logs in Kibana using a unique
      field (ex: log_level).
      This fix standardize log level keyword naming.
      
      Closes-Bug: #1713410
      Change-Id: Ibb2eaf3b6aa21ce6f7945e768e6362c0d40f0507
      b649ae92
    • Eduardo Gonzalez's avatar
      Fix rabbitmq tag not match in fluentd · ebd8d765
      Eduardo Gonzalez authored
      infra.rabbitmq tag does not match in fluentd
      
      Closes-Bug: #1718874
      Change-Id: I92733a4f275baa93b0c3a6ddbdc6801aec534867
      ebd8d765
  22. Sep 21, 2017
    • Bertrand Lallau's avatar
      Fluentd: progname field is missing with Rsyslog · 0af7178d
      Bertrand Lallau authored
      progname is actually only fullfilled for Openstack logs and infra logs.
      They are missing for program logging in RSYSLOG: HAPROXY and SWIFT.
      When using Kibana, "progname" field appears empty, hence it's difficult
      to know where logs come from.
      
      Change-Id: Iae98af083cfb79d2a64fa0b70c86b0a01f7a336f
      Closes-Bug: #1716051
      0af7178d
  23. 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
  24. Sep 11, 2017
    • Eduardo Gonzalez's avatar
      Fix barbican-api log filter in fluentd · 1d1fbcfb
      Eduardo Gonzalez authored
      Barbican-api log is a uswsgi process and fluentd expects as
      openstack service process.
      This change moves log type to uswgi group.
      
      Change-Id: Ifaf5645d0d19e133e41de0c55a55321fccfc391f
      Closes-Bug: #1716513
      1d1fbcfb
  25. Sep 04, 2017
    • Bertrand Lallau's avatar
      Fluentd: Libvirt logs are missing · 792ab714
      Bertrand Lallau authored
      Libvirt logs are not managed by Fluentd. It can be very helpful to
      debug 'booting' issue on KVM.
      
      Change-Id: Ie04322adec0482f4d586d2f8564a1a77f2da2605
      Closes-Bug: #1713429
      792ab714
    • Bertrand Lallau's avatar
      Fluentd "progname" field not always generated · 61864637
      Bertrand Lallau authored
      'progname' is actually only fullfilled for Openstack services logs.
      They are missing for MariaDB and RabbitMQ logs.
      When using Kibana, "progname" field appears empty, hence it's difficult
      to known where logs comes from.
      
      Change-Id: Ifcbfd981a34a8d64ea69d37934c7f0fae10a90b5
      Closes-Bug: #1713412
      61864637
    • Bertrand Lallau's avatar
      Fluentd: manage multiline log pattern · 38a6d304
      Bertrand Lallau authored
      Actual Fluentd config doesn't manage multiline log pattern like:
      
      2017-08-16 21:41:03.097 7 WARNING oslo_config.cfg [-] Option "firewall_driver" from group "DEFAULT" is deprecated for removal (
      nova-network is deprecated, as are any related configuration options.
      ). Its value may be silently ignored in the future.
      
      This log will generate 1 Fluentd event for each line (in previous
      example 3 events).
      This is really a wrong behaviour and made Kibana interface not friendly.
      This patch uses a multiline parser.
      
      Change-Id: Iee337645d1dc42876ec79be08ee3715f11a53d87
      Closes-Bug: #1711399
      38a6d304
  26. Aug 31, 2017
  27. 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
  28. Aug 21, 2017
    • Eduardo Gonzalez's avatar
      Fix missing tacker-conductor service · ecc02217
      Eduardo Gonzalez authored
      Tacker has included a new conductor service
      to manage mistral workflows for VIM monitoring.
      
      Without conductor, Tacker cannot create VIMs.
      
      This change reworks tacker to include tacker-conductor
      service.
      
      Depends-On: I52778e86e4f2c297ead8d4b09983e5e38ca88c70
      Closes-Bug: #1710874
      Change-Id: I6901e919887551bedc9dba8983ac904e8c48c9ce
      ecc02217
    • Eduardo Gonzalez's avatar
      Update fluentd config for rpm distros · 1d5bd219
      Eduardo Gonzalez authored
      Fluentd repo/packages are changed in depends changes below.
      Rpm distros need changes in their config for properly
      start and deploy fluentd containers.
      
      Change-Id: I474c4d20c407717c6da973383bbbd5539be480f1
      Depends-On: I4802618373cfa53d67d1dfe65be7abe1950b3d04
      1d5bd219
  29. Aug 20, 2017
  30. Aug 15, 2017
  31. Aug 11, 2017
  32. Aug 08, 2017
  33. Aug 07, 2017
  34. Aug 03, 2017
Loading