Back to Beats

System user dataset [auditbeat-dataset-system-user]

docs/reference/auditbeat/auditbeat-dataset-system-user.md

9.4.01.8 KB
Original Source

% This file is generated! See auditbeat/scripts/mage/docs.go

System user dataset [auditbeat-dataset-system-user]

::::{warning} This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features. ::::

This is the user dataset of the system module.

It is implemented for Linux only.

Example dashboard [_example_dashboard_6]

The dataset comes with a sample dashboard:

% TO DO: Use :class: screenshot

Fields [_fields]

For a description of each field in the dataset, see the exported fields section.

Here is an example document generated by this dataset:

json
{
    "@timestamp": "2017-10-12T08:05:34.853Z",
    "event": {
        "action": "user_added",
        "dataset": "user",
        "kind": "event",
        "module": "system"
    },
    "message": "New user elastic (UID: 1001, Groups: elastic,docker)",
    "service": {
        "type": "system"
    },
    "system": {
        "audit": {
            "user": {
                "dir": "/home/elastic",
                "gid": "1001",
                "group": [
                    {
                        "gid": "1001",
                        "name": "elastic"
                    },
                    {
                        "gid": "1002",
                        "name": "docker"
                    }
                ],
                "name": "elastic",
                "shell": "/bin/bash",
                "uid": "1001"
            }
        }
    },
    "user": {
        "entity_id": "FgDfgeDptvvfdX+L",
        "id": "1001",
        "name": "elastic"
    }
}