"actions": {
"log_error": {
"logging": {
"category": "watcher.logging.bppm.None",
"level": "info",
"text": "Found {{ctx.payload.hits.total}} exception in the server logs (EAP)\n{{#ctx.payload.hits.hits}}[MINOR] {{_source.@timestamp}} {{_source.hostname}} {{_source.wlsdomain}} {{_source.wlsname}} {{_source.msgId}}\n{{/ctx.payload.hits.hits}}"
}
}
}
My Question is how to change the format of {{_source.@timestamp}}??
This is the result:
[None] 2019-12-04 10:45:56 Found 1 exception in the server logs (EAP)
[MINOR] 2019-Dec-04 10:42:08.782 HKT eapdev1c wlsx_eprsvc_dev EprsvcCorpJmsDev_eapdev1c_11627 BEA-310003
I would like to change the format from 2019-Dec-04 10:42:08.782 HKT to 2019-12-04 10:42:08.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.