# File beat cant present my application log

**URL:** <https://discuss.elastic.co/t/file-beat-cant-present-my-application-log/132251>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [May 17, 2018, 5:00am UTC](https://discuss.elastic.co/t/file-beat-cant-present-my-application-log/132251 "2018-05-17T05:00:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimas\_Djs](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@Dimas\_Djs](https://discuss.elastic.co/u/Dimas_Djs)\
**Post date:** [May 17, 2018, 5:00am UTC](https://discuss.elastic.co/t/file-beat-cant-present-my-application-log/132251/1 "2018-05-17T05:00:14Z")

</div>

Hallo everyone, i just enabled filebeat.prospector from filebeat.yml to add my application path log, so filebeat can crawl from my application log, and be prensented in kibana. But when i have finished add my application log, and restart the filebeat, filebeat doesnt get my application log.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/0/3090cf93fa6340ce4522fa1274f08966d1ec1919.png)  
when i see my filebeat log, the prospectors is loaded but my application log isnt be loaded.

anyone can help me?

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [May 17, 2018, 5:47am UTC](https://discuss.elastic.co/t/file-beat-cant-present-my-application-log/132251/2 "2018-05-17T05:47:05Z")

</div>

Hi @Dimas_Djs,

Could you please paste your config file here.

> path : /etc/filebeat/filebeat.yml

Thanks,  
Harsh Bajaj

---

<div class="post-metadata">

**Author:** ![Dimas\_Djs](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@Dimas\_Djs](https://discuss.elastic.co/u/Dimas_Djs)\
**Post date:** [May 17, 2018, 6:53am UTC](https://discuss.elastic.co/t/file-beat-cant-present-my-application-log/132251/3 "2018-05-17T06:53:10Z")

</div>

here is my filbet.yml

##################### Filebeat Configuration Example #########################

#=========================== Filebeat prospectors =============================

filebeat.prospectors:

- type: log  
enabled: true
  - /var/log/nginx/myapp.log

#============================= Filebeat modules ===============================

filebeat.config.modules:  
path: ${path.config}/modules.d/\*.yml  
reload.enabled: false  
#==================== Elasticsearch template setting ==========================

setup.template.settings:  
index.number\_of\_shards: 3

filebeat.inputs:

- type: log  
paths:
  - "/var/log/nginx/myapp.log"

#============================== Kibana =====================================  
#-------------------------- Elasticsearch output ------------------------------  
output.elasticsearch:  
hosts: ["elk-sprintqoe:81"]

---

<div class="post-metadata">

**Author:** ![Dimas\_Djs](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@Dimas\_Djs](https://discuss.elastic.co/u/Dimas_Djs)\
**Post date:** [May 17, 2018, 8:26am UTC](https://discuss.elastic.co/t/file-beat-cant-present-my-application-log/132251/4 "2018-05-17T08:26:23Z")

</div>

hello @harshbajaj16 my application log has been harvested , but how could i see in my kibana ? because i cant see any log from my app.log in my kibana

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [May 18, 2018, 3:35am UTC](https://discuss.elastic.co/t/file-beat-cant-present-my-application-log/132251/5 "2018-05-18T03:35:17Z")

</div>

Hi Dimas\_Djs,

I've seen in your config file that you have configured elasticsearch o/p section and above mentione KIBANA. let me clear filebeat can't send the logs directly to kibana. you have to configure elasticsearch to store the logs and kibana will visualize that logs.

or

If you configure elasticsearch o/p then the port setting is wrong Elasticsearch reserves port 9200-9400.

> [@](#):
>
> output.elasticsearch:
> 
> hosts: ["elk-sprintqoe:81"]

Please check the same and configure accordingly and let me know if you are getting any issue.

Thanks,  
Harsh Bajaj

---

<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:** [June 15, 2018, 3:35am UTC](https://discuss.elastic.co/t/file-beat-cant-present-my-application-log/132251/6 "2018-06-15T03:35:26Z")

</div>

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