# How do you report error logs?

**URL:** https://discuss.elastic.co/t/how-do-you-report-error-logs/148105
**Category:** Kibana
**Created:** [September 11, 2018, 10:12am UTC](https://discuss.elastic.co/t/how-do-you-report-error-logs/148105 "2018-09-11T10:12:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![TheSmartMonkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thesmartmonkey/32/33965_2.png) [@TheSmartMonkey](https://discuss.elastic.co/u/TheSmartMonkey)
#### Post date: [September 11, 2018, 10:12am UTC](https://discuss.elastic.co/t/how-do-you-report-error-logs/148105/1 "2018-09-11T10:12:07Z")

</div>

for a while I'm looking for a way to easily send error report in CSV or any other document type but I never fined an easy way and a clean document with multiple log to retrieve the errors.  
I've post this topic on github but I wonder if there is not another way to easily handle my errors logs (maybe with xpack) :

> <https://github.com/elastic/kibana/issues/22871>
>
> \*\*Products/Versions:\*\* 
> es 6.4.0, kibana 6.4.0
> 
> \*\*Description:\*\*
> Since 6.4.0… realised a new functionality was added : https://www.elastic.co/guide/en/kibana/6.x/tutorial-inspect.html
> 
> Very exited about this feature it almost cover my use case that is to have a easy way to export in CSV a message with the surrounding messages
> 
> For example I have a dashboard who shoes me my error logs and I would like to send this errors to my team then we can fix it but to fix this error I need the log messages who came before and after this error 
> 
> Would it be possible to make this enhancement?

example of a log error i want to send with surrounding logs for example to debug it :

> 2018-09-11 08:42:51,442 xxx ERROR (BuildImageEnv.java:yyy:343) - Error updating repository status

Hope someone can help 🙂

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [September 11, 2018, 12:46pm UTC](https://discuss.elastic.co/t/how-do-you-report-error-logs/148105/2 "2018-09-11T12:46:53Z")

</div>

Hello,

We have context view in discover right now which might help you. You can open a doc in discover and view surrounding documents. You can change the number of surrounding documents too.

 ![33%20AM](https://us1.discourse-cdn.com/elastic/original/3X/3/5/3549461968b83fc1b041c7c2952e9cec986515c6.png)

 ![37%20AM](https://us1.discourse-cdn.com/elastic/original/3X/3/7/37d338a02d863695dfc1d34e5931c580adaca31d.png)

Hope that helps.

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![TheSmartMonkey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thesmartmonkey/32/33965_2.png) [@TheSmartMonkey](https://discuss.elastic.co/u/TheSmartMonkey)
#### Post date: [September 11, 2018, 1:53pm UTC](https://discuss.elastic.co/t/how-do-you-report-error-logs/148105/3 "2018-09-11T13:53:06Z")

</div>

Thanks for your reply @bhavyarm It's what I talk about in my issue I want to export the surrounding documents of an error but at the moment it seem's that it's not possible It will be so grate that there were a button export in CSV with surrounding documents  
It's why I wonder if there is not an over way to export it

---

<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 9, 2018, 1:53pm UTC](https://discuss.elastic.co/t/how-do-you-report-error-logs/148105/4 "2018-10-09T13:53:06Z")

</div>

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