# Logstash performance v Elastic Java API

**URL:** <https://discuss.elastic.co/t/logstash-performance-v-elastic-java-api/111711>\
**Category:** Logstash\
**Created:** [December 14, 2017, 8:32am UTC](https://discuss.elastic.co/t/logstash-performance-v-elastic-java-api/111711 "2017-12-14T08:32:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnjingle](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@johnjingle](https://discuss.elastic.co/u/johnjingle)\
**Post date:** [December 14, 2017, 8:32am UTC](https://discuss.elastic.co/t/logstash-performance-v-elastic-java-api/111711/1 "2017-12-14T08:32:24Z")

</div>

Not sure where to ask this.

We have 500 million json records to load to Elasticsearch.  
Which please is the most performant method. Rest API, Logstash, Elastic Java API.

I am assuming Logstash is the easiest and best controlled.

---

<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:** [January 11, 2018, 8:32am UTC](https://discuss.elastic.co/t/logstash-performance-v-elastic-java-api/111711/2 "2018-01-11T08:32:50Z")

</div>

Closed on January 11, 2018, 8:32am UTC

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