Contents

Introduction

Prerequisites

Requirements

Components Used

Background Information

Problem

Solution

Download logs with SSH

Download logs with RTMT

Introduction

This document describes the process to collect logs for Cisco Unified Intelligence Center (CUIC), Live Data (LD) and Cisco Identity Service (IdS) server.

Prerequisites

Requirements

Cisco recommends that you have knowledge of these topics:

- Cisco Unified Real Time Monitoring Tool (RTMT)

- Any generic Secure File Transfer Protocol (SFTP) server

- CUIC, LD and IdS server

Components Used

This document is not restricted to specific software and hardware versions.

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.

Background Information

Cisco CUIC, LD and IdS server can be col-located on a single server or they can be installed on separate servers. In all cases, process to collect logs from RTMT and/or Secure Shell (SSH) is similar.

Problem

How to collect CUIC, LD and IdS logs?

Solution

Download logs with SSH

Step 1. Log in to the SSH Command Line (CLI) of CUIC, LD and IdS.

Step 2. Run the command in order to collect CUIC related logs:

file get activelog /cuic/logs/cuic/*.* recurs compress reltime hours 1

file get activelog /cuic/logs/cuicsrvr/*.* recurs compress reltime hours 1

file get activelog tomcat/logs/*.* recurs compress

Step 3. Run the command in order to collect LD related logs:

file get activelog livedata/logs/*.*

Step 4. Run the command in order to collect IdS related logs:

file get activelog ids/log/*.* recurs compress reltime days 1

Note:Please note that you need an SFTP server to download logs.

Download logs with RTMT

Step 1. Download RTMT from OAMP page. Log in to https://<HOST ADDRESS>/oamp where HOST ADDRESS is the IP address of the server.

Step 2. Navigate to Tools > RTMT plugin download. Download and install the plugin.

Step 3. Launch RTMT and log in to the server with admin credentials.

Step 4. Double click on Trace and Log Central and then double click Collect Files

Step 5. You can see these tabs for specific services and you must select all services/servers for CUIC, LD and IdS.

For CUIC:

For Live Data:

For IdS:

For Platform services, it is generally a good idea to select Tomcat and Event viewer logs:

Step 6. Select Date and Time along with destination folder in order to save the logs and logs will be saved.