Table of Contents

Class Audit

Namespace
Elasticsearch.Net
Assembly
Elasticsearch.Net.dll

An audit of a request made

public class Audit
Inheritance
Audit
Inherited Members

Constructors

Audit(AuditEvent, DateTime)

public Audit(AuditEvent type, DateTime started)

Parameters

type AuditEvent
started DateTime

Properties

Ended

The end date and time of the audit

public DateTime Ended { get; }

Property Value

DateTime

Event

The type of audit event

public AuditEvent Event { get; }

Property Value

AuditEvent

Exception

The exception for the audit, if there was one.

public Exception Exception { get; }

Property Value

Exception

Node

The node on which the request was made

public Node Node { get; }

Property Value

Node

Path

The path of the request

public string Path { get; }

Property Value

string

Started

The start date and time of the audit

public DateTime Started { get; }

Property Value

DateTime

Methods

ToString()

public override string ToString()

Returns

string