A Graze API GET request that returns the partition override details in the Events Analyser configuration.
Back to Graze API EndPoint Reference.
Endpoint getEventsAnalyserPartitionOverrides
takes the following request argument:
Endpoint getEventsAnalyserPartitionOverrides
takes no other arguments because this endpoint returns data on all the partition overrides in the Events Analyser configuration.
Endpoint getEventsAnalyserPartitionOverrides
returns the following response:
Successful requests return a JSON object containing the following:
Type | Description |
---|---|
JSON Object | Details of the partition overrides in the Events Analyser. |
The following examples demonstrate typical use of endpoint getEventsAnalyserPartitionOverrides
:
Example cURL request to return the partition overrides in the Events Analyser configuration:
curl -G -u graze:graze -k -v "https://localhost/graze/v1/getEventsAnalyserPartitionOverrides"
Example response returning the partition overrides for the Events Analyser:
{
"SOURCE11": {
"stop_words": false,
"priority_words": false,
"fields": [
"description"
],
"casefold": true,
"stop_word_length": 5
},
"SOURCE22": {
"priority_words_list": [
"reboot",
"shutdown"
],
"stop_words": true,
"stop_words_list": [
"france",
"germany",
"italy",
"peru",
"india",
"japan",
"korea"
],
"stemming": true,
"priority_words": true,
"stop_word_length": 1,
"mask": {
"date_time": false,
"ip_address": true
}
}
}