# How to transfer log to influxDB via elasticsearch

**URL:** <https://discuss.elastic.co/t/how-to-transfer-log-to-influxdb-via-elasticsearch/121437>\
**Category:** Logstash\
**Created:** [February 26, 2018, 6:33am UTC](https://discuss.elastic.co/t/how-to-transfer-log-to-influxdb-via-elasticsearch/121437 "2018-02-26T06:33:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abhisek](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@abhisek](https://discuss.elastic.co/u/abhisek)\
**Post date:** [February 26, 2018, 6:33am UTC](https://discuss.elastic.co/t/how-to-transfer-log-to-influxdb-via-elasticsearch/121437/1 "2018-02-26T06:33:13Z")

</div>

Hi All,

I need to transfer log to influxdb from elasticsearch, i have gone through the following document :  
[https://www.elastic.co/guide/en/logstash/5.4/plugins-outputs-influxdb.html](https://www.elastic.co/guide/en/logstash/5.4/plugins-outputs-influxdb.html)  
and came to the conclusion that i can do it using influxdb plugin.

but i have some doubts 🙂

1. Is logstash required for the plugin to be working.
2. Is it possible to use elasticsearch index to transfer the log to influxdb using influx plugin.
3. If it is possible then how to write a configuration file for the data load.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 26, 2018, 8:00am UTC](https://discuss.elastic.co/t/how-to-transfer-log-to-influxdb-via-elasticsearch/121437/2 "2018-02-26T08:00:02Z")

</div>

I moved your question to #logstash.

> Is logstash required for the plugin to be working.

Yes.

> Is it possible to use elasticsearch index to transfer the log to influxdb using influx plugin.

Probably with an `elasticsearch-input-plugin`.

> If it is possible then how to write a configuration file for the data load.

My guess: use the `elasticsearch` input to read data from elasticsearch and the `influxdb` output to write data to InfluxDB.

---

<div class="post-metadata">

**Author:** ![abhisek](https://avatars.discourse-cdn.com/v4/letter/a/c5a1d2/32.png) [@abhisek](https://discuss.elastic.co/u/abhisek)\
**Post date:** [February 26, 2018, 1:20pm UTC](https://discuss.elastic.co/t/how-to-transfer-log-to-influxdb-via-elasticsearch/121437/3 "2018-02-26T13:20:23Z")

</div>

@dadoonet thanks for your reply  
But is it possible to load log without using logstash.

> [@dadoonet](#):
>
> elasticsearch-input-plugin

Are you talking about telegraf plugin.

Is it possible to use telegraf to transfer log using elasticsearch input plugin.

---

<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:** [February 26, 2018, 3:36pm UTC](https://discuss.elastic.co/t/how-to-transfer-log-to-influxdb-via-elasticsearch/121437/4 "2018-02-26T15:36:50Z")

</div>

> But is it possible to load log without using logstash.

What, exactly, do you mean by this?

> Are you talking about telegraf plugin.

No, he's talking about the Logtash input plugin called elasticsearch.

> **[Elasticsearch input plugin | Logstash Reference \[8.11\] | Elastic](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-elasticsearch.html)**

---

<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:** [March 26, 2018, 3:37pm UTC](https://discuss.elastic.co/t/how-to-transfer-log-to-influxdb-via-elasticsearch/121437/5 "2018-03-26T15:37:24Z")

</div>

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