# Kibana alerting - how to access log messages

**URL:** https://discuss.elastic.co/t/kibana-alerting-how-to-access-log-messages/249709
**Category:** Kibana
**Tags:** elastic-stack-alerting
**Created:** [September 23, 2020, 9:03pm UTC](https://discuss.elastic.co/t/kibana-alerting-how-to-access-log-messages/249709 "2020-09-23T21:03:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![carl0s](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carl0s/32/76112_2.png) [@carl0s](https://discuss.elastic.co/u/carl0s)
#### Post date: [September 23, 2020, 9:03pm UTC](https://discuss.elastic.co/t/kibana-alerting-how-to-access-log-messages/249709/1 "2020-09-23T21:03:29Z")

</div>

I've set up a Log Threshold alert to match on errors in the message and I'd like to send the matching logs in the webhook action I've created. It doesn't seem like there's a way to get these yet?

![Screen Shot 2020-09-24 at 8.57.50 AM](https://us1.discourse-cdn.com/elastic/original/3X/3/5/3501eaf2f3e63938de202a5e7533a92b277a9deb.png)

---

<div class="post-metadata">

### Author: ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)
#### Post date: [September 24, 2020, 5:33pm UTC](https://discuss.elastic.co/t/kibana-alerting-how-to-access-log-messages/249709/2 "2020-09-24T17:33:51Z")

</div>

@Patrick_Mueller is this possible or via regular kibana logs?

---

<div class="post-metadata">

### Author: ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)
#### Post date: [September 28, 2020, 3:06am UTC](https://discuss.elastic.co/t/kibana-alerting-how-to-access-log-messages/249709/3 "2020-09-28T03:06:47Z")

</div>

It doesn't look like this alert provides the matching documents in a context variable that an action might be able to make use of. I'd suggest opening an issue against Kibana requesting this as an enhancement.

---

<div class="post-metadata">

### Author: ![carl0s](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carl0s/32/76112_2.png) [@carl0s](https://discuss.elastic.co/u/carl0s)
#### Post date: [September 29, 2020, 2:45am UTC](https://discuss.elastic.co/t/kibana-alerting-how-to-access-log-messages/249709/4 "2020-09-29T02:45:22Z")

</div>

Thanks Patrick, I've opened this issue [https://github.com/elastic/kibana/issues/78711](https://github.com/elastic/kibana/issues/78711)

---

<div class="post-metadata">

### Author: ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)
#### Post date: [September 29, 2020, 12:09pm UTC](https://discuss.elastic.co/t/kibana-alerting-how-to-access-log-messages/249709/5 "2020-09-29T12:09:35Z")

</div>

Thanks carl0s - I've added some labels so the right team will see the issue.

---

<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: [October 27, 2020, 12:09pm UTC](https://discuss.elastic.co/t/kibana-alerting-how-to-access-log-messages/249709/6 "2020-10-27T12:09:38Z")

</div>

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