[SEBA-287] Operational Status
Change-Id: Id372f0f16927dd00e5625f8d4a53170a713e6783
diff --git a/operating_cord/elk_stack.md b/operating_cord/elk_stack.md
index 6546452..80c2326 100644
--- a/operating_cord/elk_stack.md
+++ b/operating_cord/elk_stack.md
@@ -196,4 +196,33 @@
}
}
' | jq .hits.hits
-```
\ No newline at end of file
+```
+
+### Get Operational status of the RADIUS server
+
+Operational status can be queried from Elastic search using Rest API calls.
+Three possible values for operational status are:
+1) In Use
+2) Unknown
+3) Unavailable
+
+```bash
+curl -XGET "http://localhost:$ELK_PORT/_search" -H 'Content-Type: application/json' -d'
+{
+ "query": {
+ "bool": {
+ "filter": {
+ "term": {
+ "kafka_topic": "radiusoperationalstatus.events"
+ }
+ }
+ }
+ }
+}' | jq .hits.hits[0]._source.radiusoperationalstatus
+```
+
+Example Response:
+
+```bash
+"In Use"
+```