Fix time format for fluentd
Fix time format in td-agent config file.
Related-bug: PROD-36719
Change-Id: If6eab852c70e7fe77906d60283dde4319ea0bbc3
diff --git a/barbican/meta/fluentd.yml b/barbican/meta/fluentd.yml
index 36983de..5d9a3df 100644
--- a/barbican/meta/fluentd.yml
+++ b/barbican/meta/fluentd.yml
@@ -30,7 +30,7 @@
parser:
type: regexp
time_key: Timestamp
- time_format: '%d/%b/%Y:%H:%M:%S %z'
+ time_format: '%d/%b/%Y %H:%M:%S.%N %z'
keep_time_key: false
# Apache format: https://regex101.com/r/WeCT7s/5
format: '/(?<hostname>[\w\.\-]+)\:(?<port>\d+)\s(?<http_client_ip_address>[\d\.]+)\s\-\s\-\s\[(?<Timestamp>.*)\]\s(?<Payload>\"(?<http_method>[A-Z]+)\s(?<http_url>\S+)\s(?<http_version>[.\/\dHTFSP]+)\"\s(?<http_status>\d{3})\s(?<http_response_time>\d+)\s(?<http_response_size>\d+)\s\"(?<http_referer>.*)\"\s\"(?<user_agent>.*)\")/'