DX OI: log analytics monitoring
search cancel

DX OI: log analytics monitoring

book

Article ID: 280419

calendar_today

Updated On:

Products

DX OI SaaS

Issue/Introduction

I'm trying to monitor the log using DX OI log analytics, to do so I have installed standalone log collector and filebeat on one of out server but I am not seeing the logs on OI console. 

Resolution

There should be subfolders under /opt/CA/Spectrum/tomcat/logs separating different types of log files, e.g. for instances, ${FILEBEAT_LOGS_DIR}/tomcat_access/* for Tomcat Access Logs, ${FILEBEAT_LOGS_DIR}/tomcat/* for Tomcat Error (Catalina) Logs, etc.

You need to configure the log file paths in filebeat.yml 

Search for ${FILEBEAT_LOGS_DIR}/tomcat/* for Tomcat Error (Catalina) Log paths and replace it with ${FILEBEAT_LOGS_DIR}/catalina.out
Search for ${FILEBEAT_LOGS_DIR}/tomcat_access/* for Tomcat Access Log paths and replace it with ${FILEBEAT_LOGS_DIR}/localhost_access_log.*