---
title: System.RequestLogs
slug: ps/help/en_us/vtm/controlapi/systemrequestlogs
docTags: 
createdAt: 2026-08-02T08:52:22.643Z
---

URI: http\://soap.zeus.com/zxtm/1.0/System/RequestLogs/

The RequestLogs interfaces provide operations on saved virtual server request logs for a vTM appliance. This interface is only available on an appliance.

### Methods

### deleteAllVSRequestLogs() throws InvalidOperation

Delete all the request logs for all virtual servers.

```bash
void deleteAllVSRequestLogs()
```

### deleteVSRequestLog( logfiles ) throws InvalidInput, InvalidOperation

Delete the specified request logs.

```bash
void deleteVSRequestLog(
String[] logfiles
)
```

### deleteVSRequestLogs( vservers ) throws InvalidOperation

Delete the request logs for specific virtual servers.

```bash
void deleteVSRequestLogs(
String[] vservers
)
```

### getAllVSRequestLogs() throws InvalidOperation

Get the request logs for all virtual servers.

```bash
System.RequestLogs.VSRequestLog[] getAllVSRequestLogs()
```

### getVSRequestLogs( vservers ) throws InvalidOperation

Get the request logs for specific virtual servers.

```bash
System.RequestLogs.VSRequestLog[][] getVSRequestLogs(
String[] vservers
)
```

### Structures

### System.RequestLogs.VSRequestLog

This structure contains the information for each virtual server request log.

```bash
struct System.RequestLogs.VSRequestLog {
# The log filename.
String filename;
# The virtual server for this logfile.
String virtual_server;
# The date this logfile was created.
Time logdate;
# The size (in bytes) of this logfile.
Integer filesize;
}
```
