---
name: "auparse_get_field_type"
section: "3"
platform: "linux"
package: "audit"
version: "4.2.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/auparse_get_field_type"
---

# auparse\_get\_field\_type(3)

get current field's data type

## NAME

auparse\_get\_field\_type - get current field's data type

## SYNOPSIS

**#include \<auparse.h\>**

**int auparse\_get\_field\_type(const auparse\_state\_t \****au);"*

## DESCRIPTION

auparse\_get\_field\_type returns a value from the auparse\_type\_t enum that describes the kind of data in the current field of the current record in the current event.

## RETURN VALUE

Returns AUPARSE\_TYPE\_UNCLASSIFIED if the field's data type has no known description or is an integer. Otherwise it returns another enum. Fields with the type AUPARSE\_TYPE\_ESCAPED must be interpreted to access their value since those field's raw value is encoded.

## SEE ALSO

[**auparse\_get\_field\_name**(3)](/auparse_get_field_name/3.md).

## AUTHOR

Steve Grubb
