# Gray Log Json API URL monitoring

**URL:** https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335
**Category:** Graylog Central (peer support)
**Created:** [May 9, 2019, 5:08am UTC](https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335 "2019-05-09T05:08:38Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![yazar.khader](https://avatars.discourse-cdn.com/v4/letter/y/45deac/32.png) [@yazar.khader](https://community.graylog.org/u/yazar.khader)
#### Post date: [May 9, 2019, 5:08am UTC](https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335/1 "2019-05-09T05:08:38Z")

</div>

Hi,

Is it possible to monitor JSON API External URL?. For example: I need to Monitor SendGrid with their JSON API, notification when any failure is detected

URL: [https://3tgl2vf85cht.statuspage.io/api/v2/summary.json](https://3tgl2vf85cht.statuspage.io/api/v2/summary.json)

If it possible can I get the steps.

---

<div class="post-metadata">

### Author: ![michael.ehrenreich](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/michael.ehrenreich/32/4061_2.png) [@michael.ehrenreich](https://community.graylog.org/u/michael.ehrenreich)
#### Post date: [May 9, 2019, 6:58am UTC](https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335/2 "2019-05-09T06:58:46Z")

</div>

You can use the “JSON path from HTTP API” input and slurp JSON from an external URL.

---

<div class="post-metadata">

### Author: ![yazar.khader](https://avatars.discourse-cdn.com/v4/letter/y/45deac/32.png) [@yazar.khader](https://community.graylog.org/u/yazar.khader)
#### Post date: [May 9, 2019, 7:05am UTC](https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335/3 "2019-05-09T07:05:53Z")

</div>

Thank you Michael.

Can you please let me know the steps from were I can add these?

---

<div class="post-metadata">

### Author: ![michael.ehrenreich](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/michael.ehrenreich/32/4061_2.png) [@michael.ehrenreich](https://community.graylog.org/u/michael.ehrenreich)
#### Post date: [May 9, 2019, 7:37am UTC](https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335/4 "2019-05-09T07:37:30Z")

</div>

Sure.

You can add a new input by selecting “System” -\> “Inputs” in the Web UI, select the JSON path input from the select menu on the left and click “Add new input”. In the following dialog you have to enter the details like the URI and JSON path.

If you are not familiar with JSON path, you can test and debug your query here: [https://jsonpath.com/](https://jsonpath.com/)

---

<div class="post-metadata">

### Author: ![yazar.khader](https://avatars.discourse-cdn.com/v4/letter/y/45deac/32.png) [@yazar.khader](https://community.graylog.org/u/yazar.khader)
#### Post date: [May 9, 2019, 10:38am UTC](https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335/5 "2019-05-09T10:38:12Z")

</div>

> [@michael.ehrenreich](#):
>
> [https://jsonpath.com/](https://jsonpath.com/)

Hi Michael,

Thank you 🙂  
I have added the new JSON URL as input.  
Is there any option to get an alert if default value got changed?.

For example: description":“All Systems Operational”

if description value changes, I should get alerts.

Any help Michael

---

<div class="post-metadata">

### Author: ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)
#### Post date: [May 13, 2019, 8:47am UTC](https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335/6 "2019-05-13T08:47:55Z")

</div>

you could make a “if not value” condition for that

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)
#### Post date: [May 27, 2019, 8:47am UTC](https://community.graylog.org/t/gray-log-json-api-url-monitoring/10335/7 "2019-05-27T08:47:57Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
