# ElastAlert for No logs in Kibana

**URL:** https://discuss.elastic.co/t/elastalert-for-no-logs-in-kibana/180219
**Category:** Elasticsearch
**Created:** [May 8, 2019, 4:06pm UTC](https://discuss.elastic.co/t/elastalert-for-no-logs-in-kibana/180219 "2019-05-08T16:06:57Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Arnav\_Bose](https://avatars.discourse-cdn.com/v4/letter/a/ce73a5/32.png) [@Arnav\_Bose](https://discuss.elastic.co/u/Arnav_Bose)
#### Post date: [May 8, 2019, 4:06pm UTC](https://discuss.elastic.co/t/elastalert-for-no-logs-in-kibana/180219/1 "2019-05-08T16:06:57Z")

</div>

Currently, I have a flatine alert that correctly triggers if there is no log in Kibana for a component. The component's logs are sent to Kibana from 4 IPs. The problem I have is: since I am using flatline alert, it does not show for which IP the log has stopped. I will have to go to Kibana and manually run the query 4 times to know which IP does not have logs. So, I am looking for 1) If flatline alert can display the IP for which alert has stopped or 2) Replace flatline alert with a 'frequency' or 'any' type alert .

The alert I have in place is:

```auto
nextrulename: RLCMNoKibanaLogs
index: logstash-*
type: flatline
query_key: ["@module_tag", "ipaddr"]
threshold: 1
timeframe:
  minutes: 5
realert:
  minutes: 0
use_count_query: true
doc_type: fluentd
filter:
- query:
    query_string:
      query: '@module_tag:rlcm'
alert: my_alerts.AlertManager
labels:
  alertsrc: ElasticSearch
  kafka: 'true'
  slack: 'true'
  severity: info  
annotations:
  description: No logs reaching kibana for RLCM component.
  summary: No logs available in Kibana from RLCM for the last 5 minutes.

```

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 5, 2019, 4:06pm UTC](https://discuss.elastic.co/t/elastalert-for-no-logs-in-kibana/180219/2 "2019-06-05T16:06:59Z")

</div>

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