The current source path for log files is:
/var/log/onap/<component_name>/<sub-component_name>. A grok filter has
been added to extract the forth token as the component name from this
source path.
Change-Id: Ic95eb9c3b5189cc8a9fecc25d498809a4095eba6
Issue-ID: LOG-74
Signed-off-by: vaibhav.jain1 <vaibhav.jain1@amdocs.com>
"message" => ["%{TIMESTAMP_ISO8601:Timestamp}\t%{GREEDYDATA:Thread}\t%{SPACE}%{LOGLEVEL:loglevel}%{SPACE}\t%{JAVACLASS:Logger}\t(?:[^\t]+\t)*%{GREEDYDATA:message}",
"(?<MDCs>.*\t)"
]
+ "source" => ["/var/log/onap/(?<componentName>[^/]+)/"]
}
overwrite => ["message"]
}