# Binary files decoded to c++ structs transfered to elasticsearch while the library is continuously updated -How to do all of that the fastest way

**URL:** https://discuss.elastic.co/t/binary-files-decoded-to-c-structs-transfered-to-elasticsearch-while-the-library-is-continuously-updated-how-to-do-all-of-that-the-fastest-way/210877
**Category:** Beats
**Tags:** filebeat
**Created:** [December 6, 2019, 11:21am UTC](https://discuss.elastic.co/t/binary-files-decoded-to-c-structs-transfered-to-elasticsearch-while-the-library-is-continuously-updated-how-to-do-all-of-that-the-fastest-way/210877 "2019-12-06T11:21:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![liron\_gofberg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/liron_gofberg/32/59823_2.png) [@liron\_gofberg](https://discuss.elastic.co/u/liron_gofberg)
#### Post date: [December 6, 2019, 11:21am UTC](https://discuss.elastic.co/t/binary-files-decoded-to-c-structs-transfered-to-elasticsearch-while-the-library-is-continuously-updated-how-to-do-all-of-that-the-fastest-way/210877/1 "2019-12-06T11:21:07Z")

</div>

Hi,

I am wondering if I can use filebeat or Logstash or something else for streaming data from binary files to elastic the way I mentioned in the heading.  
I need to know the fastest way to do that.

Here is what I am trying to do.  
Those files are binary encoded files to save space. After decoding each file I get human readable structs (in c++). A lot of regular c++ structs.  
I want my folder to be checked for new files automatically and then decode the new files ןinto structs . i want every struct object to be a record in elastic. and i want every struct object to be moved to elastic automatically.

Please help me , it’s important  
I googled so much variations of my question and didn’t find an answer  
Please..

---

<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 3, 2020, 11:21am UTC](https://discuss.elastic.co/t/binary-files-decoded-to-c-structs-transfered-to-elasticsearch-while-the-library-is-continuously-updated-how-to-do-all-of-that-the-fastest-way/210877/2 "2020-01-03T11:21:08Z")

</div>

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