# Set up log file

**URL:** <https://discuss.elastic.co/t/set-up-log-file/47949>\
**Category:** Logstash\
**Created:** [April 20, 2016, 6:56pm UTC](https://discuss.elastic.co/t/set-up-log-file/47949 "2016-04-20T18:56:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rvaedex23](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@rvaedex23](https://discuss.elastic.co/u/rvaedex23)\
**Post date:** [April 20, 2016, 6:56pm UTC](https://discuss.elastic.co/t/set-up-log-file/47949/1 "2016-04-20T18:56:46Z")

</div>

I have ELK presently running in a DEV environment and I was told to set up two directories so that someone will move logs from a Production environment to DEV to view the logs in Kibana. Where would I set up the paths for the log files and how will I have Kibana locate the log files?  
thanks

---

<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:** [April 20, 2016, 7:52pm UTC](https://discuss.elastic.co/t/set-up-log-file/47949/2 "2016-04-20T19:52:55Z")

</div>

Use Logstash with a file input to read the logs and send them to Elasticsearch since that's what Kibana interfaces with. This is a basic use case for the Elastic stack so pretty much any documentation or tutorial will apply.

---

<div class="post-metadata">

**Author:** ![rvaedex23](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@rvaedex23](https://discuss.elastic.co/u/rvaedex23)\
**Post date:** [April 20, 2016, 9:03pm UTC](https://discuss.elastic.co/t/set-up-log-file/47949/3 "2016-04-20T21:03:23Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![rvaedex23](https://avatars.discourse-cdn.com/v4/letter/r/9f8e36/32.png) [@rvaedex23](https://discuss.elastic.co/u/rvaedex23)\
**Post date:** [April 20, 2016, 9:58pm UTC](https://discuss.elastic.co/t/set-up-log-file/47949/4 "2016-04-20T21:58:14Z")

</div>

One question. How can I force Kibana to view these logs?

---

<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:** [April 21, 2016, 5:35am UTC](https://discuss.elastic.co/t/set-up-log-file/47949/5 "2016-04-21T05:35:45Z")

</div>

> How can I force Kibana to view these logs?

What do you mean? If the logs are available in ES you can view them in Kibana, otherwise not.

---

<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:** [July 6, 2017, 5:01am UTC](https://discuss.elastic.co/t/set-up-log-file/47949/6 "2017-07-06T05:01:20Z")

</div>


