# Retriving ping number

**URL:** <https://forum.opensearch.org/t/retriving-ping-number/19453>\
**Category:** Alerting\
**Created:** [May 19, 2024, 1:04pm UTC](https://forum.opensearch.org/t/retriving-ping-number/19453 "2024-05-19T13:04:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![m\_pahlevanzadeh](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/m_pahlevanzadeh/32/7468_2.png) [@m\_pahlevanzadeh](https://forum.opensearch.org/u/m_pahlevanzadeh)\
**Post date:** [May 19, 2024, 1:04pm UTC](https://forum.opensearch.org/t/retriving-ping-number/19453/1 "2024-05-19T13:04:38Z")

</div>

I read log of Fortigate and store it into opensearch. I can discover them in kibana. It has a field named service, service has RDP, HTTP, DNS, PING and so on.  
My scenario:  
i need to read service and if service == PING in 2 hours it notify me. Alerting is good for implement or anomaly detection ? please guide me.

---

<div class="post-metadata">

**Author:** ![gaobinlong](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/gaobinlong/32/5242_2.png) [@gaobinlong](https://forum.opensearch.org/u/gaobinlong)\
**Post date:** [May 23, 2024, 10:01am UTC](https://forum.opensearch.org/t/retriving-ping-number/19453/2 "2024-05-23T10:01:33Z")

</div>

Alerting suits for your case, because it’s rule based, but anomaly detection aims to analyze the trends of your data.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/3/33547ea01a5b12dcca2958411d3edd97ae2ea8c1.png) [@system](https://forum.opensearch.org/u/system)\
**Post date:** [July 22, 2024, 10:01am UTC](https://forum.opensearch.org/t/retriving-ping-number/19453/3 "2024-07-22T10:01:54Z")

</div>

Closed on July 22, 2024, 10:01am UTC

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