---
title: LogonSessionLinux type | Wartiva GraphQL API
description: Linux O/S specific logon session information. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/logon-session-linux.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `LogonSessionLinux` type

Linux O/S specific logon session information.

## Fields

| Field Name | Description |
|---|---|
| `utmpType` - [`PosixLogonType!`](https://wartiva.com/api-docs/types/posix-logon-type.html) | The value of utmp type (ut_type field). |
| `ttyDeviceName` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The TTY device name associated with the logon session (ut_line field). |
| `host` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Hostname for remote login, or kernel version for run-level messages |
| `hostOrigin` - [`LogonHostOrigin!`](https://wartiva.com/api-docs/types/logon-host-origin.html) | Where the host puts this session relative to your networks: local, a private address, a public address, or a hostname. A hostname counts on its own, never as the address it may resolve to. See [LogonHostOrigin](https://wartiva.com/api-docs/types/logon-host-origin.html). |
| `pid` - [`Int!`](https://wartiva.com/api-docs/types/int.html) | Process identifier (PID) of the login process. |
| `extended` - [`LogonSessionLinuxExtended`](https://wartiva.com/api-docs/types/logon-session-linux-extended.html) | Extended Linux specific logon session information found via systemd/login1, available if the session is currently active. |

## Used by

- [`LogonSession`](https://wartiva.com/api-docs/types/logon-session.html) type: A user logon session observed on an Endpoint, identified by the username and the time the session started.
- [`LogonSessionOsSpecific`](https://wartiva.com/api-docs/types/logon-session-os-specific.html) union: OS-specific logon session union type.

## Example

### Example

```json
{
  "utmpType": "EMPTY",
  "ttyDeviceName": "xyz789",
  "host": "abc123",
  "hostOrigin": "LOCAL",
  "pid": 123,
  "extended": LogonSessionLinuxExtended
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
