# Api downloading Excel file,need to process it using logstash and send data to Elasticsearch

**URL:** <https://discuss.elastic.co/t/api-downloading-excel-file-need-to-process-it-using-logstash-and-send-data-to-elasticsearch/282090>\
**Category:** Logstash\
**Created:** [August 20, 2021, 3:32pm UTC](https://discuss.elastic.co/t/api-downloading-excel-file-need-to-process-it-using-logstash-and-send-data-to-elasticsearch/282090 "2021-08-20T15:32:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Divyank\_Mahalle](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/divyank_mahalle/32/91240_2.png) [@Divyank\_Mahalle](https://discuss.elastic.co/u/Divyank_Mahalle)\
**Post date:** [August 20, 2021, 3:32pm UTC](https://discuss.elastic.co/t/api-downloading-excel-file-need-to-process-it-using-logstash-and-send-data-to-elasticsearch/282090/1 "2021-08-20T15:32:37Z")

</div>

Hi,  
I am using esign genie API which can download all folder reports as an Excel file. I need to fetch data in an excel file to elasticsearch. I checked the option for using logstash but excel needs to export to CSV.  
Is there any way to send excel file data directly to elasticsearch using API.

[https://developers.esigngenie.com/#download\_report](https://developers.esigngenie.com/#download_report)

> POST `/folders/getFolders/download`  
> Content-Type application/json

```auto
input {
  http_poller {
        type => "esign"
        urls => {
           esign => {
                method => get
                url => "https://www.esigngenie.com/esign/api/folders/getFolders/download"
                headers => {
                    Accept => "application/json"
                }
            }
        }

        request_timeout => 60

        schedule => { cron => "0 9 * * * UTC"}
        codec => "json"

        user => "U"
        password => "<P>"
    }
}
filter{ }
output {
    stdout {
        codec => rubydebug
    }
    elasticsearch {
       #host ip to be changed to new test system
        hosts => ["<Host>"]
        index => "index"
        user => "<U>"
        password => "<P>"
   }
}

```

---

<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:** [September 17, 2021, 3:33pm UTC](https://discuss.elastic.co/t/api-downloading-excel-file-need-to-process-it-using-logstash-and-send-data-to-elasticsearch/282090/2 "2021-09-17T15:33:11Z")

</div>

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