# Run config file from a web app

**URL:** <https://discuss.elastic.co/t/run-config-file-from-a-web-app/230199>\
**Category:** Elasticsearch\
**Created:** [April 28, 2020, 2:40pm UTC](https://discuss.elastic.co/t/run-config-file-from-a-web-app/230199 "2020-04-28T14:40:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 29, 2020, 12:47am UTC](https://discuss.elastic.co/t/run-config-file-from-a-web-app/230199/2 "2020-04-29T00:47:35Z")

</div>

Please don't post the same thing more than once, it makes it harder for people to help you.

> [@Run config file from a web app (flask)](https://discuss.elastic.co/t/run-config-file-from-a-web-app-flask/230197):
>
> Hello, I build a web app with flask. Through a button the user gonna choose a csv file from his desktop and when he clicks to submit a LOGSTASH config file gonna run to import that file (the user previously chosen) into ELASTICSEARCH. So I got a difficulty to code that with flask, precisely how the config file takes the path of the csv file like an input? and how i be able to run the config file? This is my try: 1- file.conf input{ file{ path =\> 'new\_path' #Here it should be a dyn…

---

_[View the full topic](https://discuss.elastic.co/t/run-config-file-from-a-web-app/230199)._
