# Importing shinken logs into Elasticsearch with logstash

**URL:** <https://discuss.elastic.co/t/importing-shinken-logs-into-elasticsearch-with-logstash/139758>\
**Category:** Logstash\
**Created:** [July 12, 2018, 1:00pm UTC](https://discuss.elastic.co/t/importing-shinken-logs-into-elasticsearch-with-logstash/139758 "2018-07-12T13:00:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Goz](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@Goz](https://discuss.elastic.co/u/Goz)\
**Post date:** [July 12, 2018, 1:00pm UTC](https://discuss.elastic.co/t/importing-shinken-logs-into-elasticsearch-with-logstash/139758/1 "2018-07-12T13:00:39Z")

</div>

Hi  
I'm installing shinken to make the monitoring and I wish to import the shinken logs into elasticsearch with logstash.  
someone can help me.  
Thank you for your help.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [July 12, 2018, 2:39pm UTC](https://discuss.elastic.co/t/importing-shinken-logs-into-elasticsearch-with-logstash/139758/2 "2018-07-12T14:39:44Z")

</div>

I don't think you should assume that people here are familiar with the logs produced by Shinken. If you post an example there's a much better chance of getting help.

---

<div class="post-metadata">

**Author:** ![Goz](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@Goz](https://discuss.elastic.co/u/Goz)\
**Post date:** [August 3, 2018, 9:08am UTC](https://discuss.elastic.co/t/importing-shinken-logs-into-elasticsearch-with-logstash/139758/3 "2018-08-03T09:08:42Z")

</div>

HI,  
Excuse me  
Hello,  
I know you're not playing the support role but I have a problem with elasticsearch  
• I installed shinken the engine it works well, I installed elasticsearch and kibana that works well  
• I installed the elastic-logs module, which acts to intercept the Shinken logs and analyze each log to store it in ElasticSearch. Newspapers are available for an application such as Kibana.  
• I installed elasticsearch-curator and its pre-requisites (elasticsearch-py and others)  
My problem I can not feed the base elasticsearch  
Moreover when I consult the config of shinken I have this problem:

[1533281494] ERROR: [Shinken] Could not import bare 'module.py' from /var/lib/shinken/modules/elastic-logs : No module named elasticsearch  
Traceback (most recent call last):  
File "/usr/lib/python2.7/site-packages/Shinken-2.4.3-py2.7.egg/shinken/modulesmanager.py", line 114, in try\_very\_bad\_load  
return importlib.import\_module('module')  
File "/usr/lib64/python2.7/importlib/ **init**.py", line 37, in import\_module  
**import** (name)  
File "/var/lib/shinken/modules/elastic-logs/module.py", line 40, in   
from elasticsearch import Elasticsearch,helpers,ElasticsearchException,TransportError  
ImportError: No module named elasticsearch

Thank you for your help

---

<div class="post-metadata">

**Author:** ![Goz](https://avatars.discourse-cdn.com/v4/letter/g/4bbf92/32.png) [@Goz](https://discuss.elastic.co/u/Goz)\
**Post date:** [August 3, 2018, 9:16am UTC](https://discuss.elastic.co/t/importing-shinken-logs-into-elasticsearch-with-logstash/139758/4 "2018-08-03T09:16:21Z")

</div>

Shinken is an open source monitoring framework written in Python

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 3, 2018, 9:43am UTC](https://discuss.elastic.co/t/importing-shinken-logs-into-elasticsearch-with-logstash/139758/5 "2018-08-03T09:43:12Z")

</div>

I suggest you should ask the Shinken people about this problem.

---

<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:** [August 31, 2018, 9:43am UTC](https://discuss.elastic.co/t/importing-shinken-logs-into-elasticsearch-with-logstash/139758/6 "2018-08-31T09:43:19Z")

</div>

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