# Analyzing log files in a static directory

**URL:** <https://discuss.elastic.co/t/analyzing-log-files-in-a-static-directory/360071>\
**Category:** Logs\
**Created:** [May 23, 2024, 11:18am UTC](https://discuss.elastic.co/t/analyzing-log-files-in-a-static-directory/360071 "2024-05-23T11:18:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Muhammad\_Adil\_Talay](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/muhammad_adil_talay/32/121792_2.png) [@Muhammad\_Adil\_Talay](https://discuss.elastic.co/u/Muhammad_Adil_Talay)\
**Post date:** [May 23, 2024, 11:18am UTC](https://discuss.elastic.co/t/analyzing-log-files-in-a-static-directory/360071/1 "2024-05-23T11:18:29Z")

</div>

**Introduction**  
Hi, I'm a newbie to Elastic stack, training in the area of Observability.

**Background**  
I have log files of an application saved in a folder or directory of my computer, not connected to the app.

**Goal**  
I would like to analyze and visualize these logs in Kibana.

**Attempt**  
I'm trying to achieve this using Filebeat, given this configuration of the YAML file:

> filebeat.inputs:  
> - type: filestream  
> id: my-filestream  
> enabled: true  
> paths:  
> - /home/myusername/\_data/_.log_

And then I run the commands to setup and start filebeat.

> sudo systemctl daemon-reload  
> sudo systemctl enable filebeat.service  
> sudo systemctl start filebeat.service

Now when I look in the Observability tab, I can see system.syslog under Log Events.  
And when I look in the Discover tab under Analyze, I see this:

 ![Screenshot from 2024-05-23 16-14-03](https://us1.discourse-cdn.com/elastic/original/3X/0/3/03ea6ba94170640b1dc4f2cc6af58b693e351da8.png)

**Query**  
Can someone guide where I'm going wrong and what may I do?

---

<div class="post-metadata">

**Author:** ![weltenwort](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weltenwort/32/53885_2.png) [@weltenwort](https://discuss.elastic.co/u/weltenwort)\
**Post date:** [May 23, 2024, 11:42am UTC](https://discuss.elastic.co/t/analyzing-log-files-in-a-static-directory/360071/2 "2024-05-23T11:42:50Z")

</div>

Hi @Muhammad_Adil_Talay 👋

Can you look at the Elasticsearch logs, the Kibana logs and the browser dev console to check whether either of them show a related error? From the screenshot I would expect at least the Kibana server to log something.
