Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openstack-cluster-installer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • OpenStackOpenStack
  • debian
  • openstack-cluster-installer
  • Merge requests
  • !21

fix swift-drive-audit legacy log parsing

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Cyril de Bourgues requested to merge kern-legacy into debian/wallaby May 10, 2021
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 3

Since we switched to the new log timestamp format, swift-drive-audit is not able to parse kern logs anymore since legacy format is hardcoded in script.

So in order to allow kern.log to be pushed to Elastic stack & having swift-drive-audit happy we copy the logs from /var/log/kern.log to /var/log/kern-legacy.log applying legacy timestamp.

Legacy format :

May 10 14:03:45 od-2fc876 swfit-drive-audit: message

ISO8601 timestamp

2021-05-10T14:03:45.311769+02:00 od-2fc876 swfit-drive-audit: message

scope : swiftstores & swiftproxies

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: kern-legacy