Get Nodes Event List

Gets all Nodes-related Events.

The response is list of NodeEvent objects.

Request

Method Request URI
GET /EventsStore/Nodes/Events?api-version=6.2-preview&timeout={timeout}&StartTimeUtc={StartTimeUtc}&EndTimeUtc={EndTimeUtc}&EventsTypesFilter={EventsTypesFilter}&ExcludeAnalysisEvents={ExcludeAnalysisEvents}&SkipCorrelationLookup={SkipCorrelationLookup}

Parameters

Name Type Required Location
api-version string Yes Query
timeout integer (int64) No Query
StartTimeUtc string Yes Query
EndTimeUtc string Yes Query
EventsTypesFilter string No Query
ExcludeAnalysisEvents boolean No Query
SkipCorrelationLookup boolean No Query

api-version

Type: string
Required: Yes
Default: 6.2-preview

The version of the API. This parameter is required and its value must be '6.2-preview'.


timeout

Type: integer (int64)
Required: No
Default: 60
InclusiveMaximum: 4294967295
InclusiveMinimum: 1

The server timeout for performing the operation in seconds. This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. The default value for this parameter is 60 seconds.


StartTimeUtc

Type: string
Required: Yes

The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.


EndTimeUtc

Type: string
Required: Yes

The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.


EventsTypesFilter

Type: string
Required: No

This is a comma separated string specifying the types of FabricEvents that should only be included in the response.


ExcludeAnalysisEvents

Type: boolean
Required: No

This param disables the retrieval of AnalysisEvents if true is passed.


SkipCorrelationLookup

Type: boolean
Required: No

This param disables the search of CorrelatedEvents information if true is passed. otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.

Responses

HTTP Status Code Description Response Schema
200 (OK) List of events objects with base type NodeEvent.
array of NodeEvent
All other status codes The detailed error response.
FabricError

Examples

This example shows how to get all nodes-related events during a certain time window.

Request

GET http://localhost:19080/EventsStore/Nodes/Events?api-version=6.2-preview&StartTimeUtc=2018-04-03T18:00:00Z&EndTimeUtc=2018-04-04T18:00:00Z

200 Response

Body
[
  {
    "Kind": "NodeOpening",
    "NodeInstance": "131672596159209220",
    "NodeId": "ba001a8bb353543e646be031afb10f1e",
    "UpgradeDomain": "0",
    "FaultDomain": "fd:/0",
    "IpAddressOrFQDN": "100.78.240.56",
    "Hostname": "RD0003FF5089AA",
    "IsSeedNode": false,
    "NodeVersion": "6.2:1.0",
    "NodeName": "node1",
    "EventInstanceId": "ecbce04a-a42b-4b70-a800-dfc6bc4f9b89",
    "TimeStamp": "2018-04-03T20:06:55.966073Z",
    "HasCorrelatedEvents": false
  },
  {
    "Kind": "NodeOpening",
    "NodeInstance": "131672596186027900",
    "NodeId": "ba03ef91259835c54d674889849a7cee",
    "UpgradeDomain": "3",
    "FaultDomain": "fd:/3",
    "IpAddressOrFQDN": "100.72.76.122",
    "Hostname": "RD0003FF6047A8",
    "IsSeedNode": false,
    "NodeVersion": "6.2:1.0",
    "NodeName": "node2",
    "EventInstanceId": "67730c48-752c-4209-bf28-3c121555a4c0",
    "TimeStamp": "2018-04-03T20:06:58.6357365Z",
    "HasCorrelatedEvents": false
  }
]