# How to get specific log file to logstash

**URL:** https://discuss.elastic.co/t/how-to-get-specific-log-file-to-logstash/149665
**Category:** Elasticsearch
**Created:** [September 24, 2018, 12:24pm UTC](https://discuss.elastic.co/t/how-to-get-specific-log-file-to-logstash/149665 "2018-09-24T12:24:42Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Naveen\_Ram\_Pentyala](https://avatars.discourse-cdn.com/v4/letter/n/b5a626/32.png) [@Naveen\_Ram\_Pentyala](https://discuss.elastic.co/u/Naveen_Ram_Pentyala)
#### Post date: [September 24, 2018, 12:24pm UTC](https://discuss.elastic.co/t/how-to-get-specific-log-file-to-logstash/149665/1 "2018-09-24T12:24:42Z")

</div>

I have ELk 6.4 setup in centos 7 and installed filebeat in one server where my nginx server is running. I copied a log file from another server of previous date and how to pass this log file to logstash. I am unable to find the logs in kibana. Please help me. Thanks in advance.

---

<div class="post-metadata">

### Author: ![jakelandis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jakelandis/32/36163_2.png) [@jakelandis](https://discuss.elastic.co/u/jakelandis)
#### Post date: [September 24, 2018, 1:49pm UTC](https://discuss.elastic.co/t/how-to-get-specific-log-file-to-logstash/149665/2 "2018-09-24T13:49:47Z")

</div>

If you are trying to go from File Beat-\>Logstash-\>Elasticsearch (view in Kibana). You will want to look at :

- Filebeat, Logstash output - [https://www.elastic.co/guide/en/beats/filebeat/current/logstash-output.html](https://www.elastic.co/guide/en/beats/filebeat/current/logstash-output.html)
- Logstash, Beats input - [https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html)
- Logstash, Elasticsearch output - [https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html](https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html)

---

<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: [October 22, 2018, 1:49pm UTC](https://discuss.elastic.co/t/how-to-get-specific-log-file-to-logstash/149665/3 "2018-10-22T13:49:55Z")

</div>

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