Table of Contents

Class LogRecord

Namespace
Microsoft.WindowsAzure.Storage.Analytics
Assembly
Microsoft.WindowsAzure.Storage.dll

Represents a Storage Analytics log entry.

public class LogRecord
Inheritance
LogRecord
Inherited Members

Properties

AuthenticationType

Indicates whether the request was authenticated via Shared Key or a Shared Access Signature (SAS), or was anonymous.

public string AuthenticationType { get; }

Property Value

string

A string indicating the authentication scheme.

ClientRequestId

The value of the x-ms-client-request-id header, included in the request as an encoded string.

public string ClientRequestId { get; }

Property Value

string

A string containing the client request ID.

ConditionsUsed

A semicolon-separated list, in the form of ConditionName=value, as an encoded string.

public string ConditionsUsed { get; }

Property Value

string

A string containing the conditions used for the request.

ETagIdentifier

The ETag identifier for the returned object as an encoded string.

public string ETagIdentifier { get; }

Property Value

string

A string containing the ETag for the resource.

EndToEndLatency

The total time in milliseconds to perform the requested operation, including the time required to read the incoming request and send the response to the requester.

public TimeSpan? EndToEndLatency { get; }

Property Value

TimeSpan?

A TimeSpan indicating the end-to-end latency for the operation.

HttpStatusCode

The HTTP status code for the request. If the request is interrupted, this value may be set to Unknown.

public string HttpStatusCode { get; }

Property Value

string

A string containing the HTTP status code.

LastModifiedTime

The Last Modified Time (LMT) for the returned object as an encoded string. This field is null for operations that return multiple objects.

public DateTimeOffset? LastModifiedTime { get; }

Property Value

DateTimeOffset?

A DateTimeOffset specifying the last modified time.

OperationCount

The number of operations logged for a request, starting at index zero. Some requests require more than one operation, such as Copy Blob, though most perform just one operation.

public int? OperationCount { get; }

Property Value

int?

An integer containing the operation count.

OperationType

The type of REST operation performed.

public string OperationType { get; }

Property Value

string

A string specifying the operation type.

OwnerAccountName

The account name of the service owner.

public string OwnerAccountName { get; }

Property Value

string

A string specifying the name of the storage account.

ReferrerHeader

The Referrer header value as an encoded string.

public string ReferrerHeader { get; }

Property Value

string

A string containing the value of the Referrer header.

RequestContentLength

The value of the Content-Length header for the request sent to the storage service. If the request was successful, this value is equal to request-packet-size. If a request is unsuccessful, this value may not be equal to request-packet-size, or it may be null.

public long? RequestContentLength { get; }

Property Value

long?

A long containing the request content length, in bytes.

RequestHeaderSize

The size of the request header, in bytes. If a request is unsuccessful, this value may be null.

public long? RequestHeaderSize { get; }

Property Value

long?

A long containing the request header size.

RequestIdHeader

The request ID assigned by the storage service. This is equivalent to the value of the x-ms-request-id header.

public Guid? RequestIdHeader { get; }

Property Value

Guid?

A Guid containing the request ID.

RequestMD5

The value of either the Content-MD5 header or the x-ms-content-md5 header in the request as an encoded string. The MD5 hash value specified in this field represents the content in the request. This field can be null.

public string RequestMD5 { get; }

Property Value

string

A string containing the request MD5 value.

RequestPacketSize

The size of the request packets read by the storage service, in bytes. If a request is unsuccessful, this value may be null.

public long? RequestPacketSize { get; }

Property Value

long?

A long containing the request packet size.

RequestStartTime

The time at which the request was received by the service, in UTC format.

public DateTimeOffset? RequestStartTime { get; }

Property Value

DateTimeOffset?

A DateTimeOffset specifying the request start time.

RequestStatus

The status of the requested operation.

public string RequestStatus { get; }

Property Value

string

A string indicating the request status.

RequestUrl

The complete URL of the request.

public Uri RequestUrl { get; }

Property Value

Uri

A System.Uri object.

RequestVersionHeader

The storage service version specified when the request was made. This is equivalent to the value of the x-ms-version header.

public string RequestVersionHeader { get; }

Property Value

string

A string containing the request version header.

RequestedObjectKey

The key of the requested object, as an encoded string. This field will always use the account name, even if a custom domain name has been configured.

public string RequestedObjectKey { get; }

Property Value

string

A string object.

RequesterAccountName

The name of the storage account from which the request originated, if the request is authenticated via Shared Key. This field is null for anonymous requests and requests made via a shared access signature (SAS).

public string RequesterAccountName { get; }

Property Value

string

A string specifying the name of the storage account.

RequesterIPAddress

The IP address of the requester, including the port number.

public string RequesterIPAddress { get; }

Property Value

string

ResponseHeaderSize

The size of the response header, in bytes. If a request is unsuccessful, this value may be null.

public long? ResponseHeaderSize { get; }

Property Value

long?

A long containing the size of the response header in bytes.

ResponsePacketSize

The size of the response packets written by the storage service, in bytes. If a request is unsuccessful, this value may be null.

public long? ResponsePacketSize { get; }

Property Value

long?

A long containing the packet size of the response header, in bytes.

ServerLatency

The total time in milliseconds to perform the requested operation. This value does not include network latency (the time required to read the incoming request and send the response to the requester).

public TimeSpan? ServerLatency { get; }

Property Value

TimeSpan?

A TimeSpan indicating the server latency for the operation.

ServerMD5

The value of the MD5 hash calculated by the storage service, as an encoded string.

public string ServerMD5 { get; }

Property Value

string

A string containing the server MD5 hash.

ServiceType

The storage service against which the request was made: blob, table, or queue.

public string ServiceType { get; }

Property Value

string

A string indicating against which service the request was made.

UserAgentHeader

The User-Agent header value as an encoded string.

public string UserAgentHeader { get; }

Property Value

string

A string containing the value of the User-Agent header.

VersionNumber

The version of Storage Analytics Logging used to record the entry.

public string VersionNumber { get; }

Property Value

string

A string containing the version number.