---
title: NftLogKey enum | Wartiva GraphQL API
description: NftLogKey specifies a key or attribute for nftables logging configuration. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/nft-log-key.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL enum

# `NftLogKey` enum

NftLogKey specifies a key or attribute for nftables logging configuration.

## Values

| Enum Value | Description |
|---|---|
| `UNSPEC` | Unspecified key. |
| `GROUP` | The log group key. |
| `PREFIX` | The prefix key for log messages. |
| `SNAPLEN` | The snaplen key (snapshot length). |
| `QTHRESHOLD` | The queue threshold key. |
| `FLAGS` | The flags key. |
| `LEVEL` | The log level key. |

## Used by

- [`LogExpression`](https://wartiva.com/api-docs/types/log-expression.html) type: LogExpression represents an nftables expression for logging packet information.

## Example

### Example

```json
"UNSPEC"

```

---

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