# Regarding Kibana Plugins

**URL:** <https://discuss.elastic.co/t/regarding-kibana-plugins/37475>\
**Category:** Kibana\
**Created:** [December 17, 2015, 2:09pm UTC](https://discuss.elastic.co/t/regarding-kibana-plugins/37475 "2015-12-17T14:09:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivc](https://avatars.discourse-cdn.com/v4/letter/v/ce7236/32.png) [@vivc](https://discuss.elastic.co/u/vivc)\
**Post date:** [December 17, 2015, 2:09pm UTC](https://discuss.elastic.co/t/regarding-kibana-plugins/37475/1 "2015-12-17T14:09:09Z")

</div>

I've come up with a following requirement. Please confirm if it's feasible to implement in Kibana.

1. Is it possible open the log files from kibana interface to find the context of failures in the logs.
2. Need to find the errors in logs before a particular failure in logs and after the failure of the logs.(for eg before 5 min of the failure and after 5 minutes of the failure and display in kibana).
3. Is there new plugin development support in kibana . If so please provide any links where i can more information on plugin development.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [December 17, 2015, 7:56pm UTC](https://discuss.elastic.co/t/regarding-kibana-plugins/37475/2 "2015-12-17T19:56:21Z")

</div>

This user wrote up a pretty fantastic guide to plugin development: [https://www.timroes.de/2015/12/02/writing-kibana-4-plugins-basics/](https://www.timroes.de/2015/12/02/writing-kibana-4-plugins-basics/)

We also have a generator to help you get started: [https://github.com/elastic/generator-kibana-plugin](https://github.com/elastic/generator-kibana-plugin)

As for what you want to do, it sounds like it's just a matter of knowing when the error occurred, and setting the time range to 5 mins before & after that. Most likely you'll want to do this via a saved search, but you could do it directly within the Discover tab.

Are you indexing all of the information in the log files? If so, you already have all the data you need in Kibana and shouldn't need to deal with the raw logfiles themselves; that info will all be available in the document's \_source value. If not, it's probably possible to create a custom vis plugin of some kind, or perhaps a whole new plugin app, that would allow you to view log files directly.

---

<div class="post-metadata">

**Author:** ![vivc](https://avatars.discourse-cdn.com/v4/letter/v/ce7236/32.png) [@vivc](https://discuss.elastic.co/u/vivc)\
**Post date:** [December 18, 2015, 12:11pm UTC](https://discuss.elastic.co/t/regarding-kibana-plugins/37475/3 "2015-12-18T12:11:11Z")

</div>

Thanks a lot for sharing the information . Will try out the Kibana plugin developlent steps and will get back.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [December 18, 2015, 4:36pm UTC](https://discuss.elastic.co/t/regarding-kibana-plugins/37475/4 "2015-12-18T16:36:04Z")

</div>

It just occurred to me, there might be an easier solution.

If you're just trying to link off to log files from within the document list in Kibana, you could do that pretty easily with a custom field formatter instead of writing a whole plugin. This blog post should help you get started in that case: [https://www.elastic.co/blog/kibana-4-1-field-formatters](https://www.elastic.co/blog/kibana-4-1-field-formatters)

---

<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:** [July 6, 2017, 2:06pm UTC](https://discuss.elastic.co/t/regarding-kibana-plugins/37475/5 "2017-07-06T14:06:17Z")

</div>


