Filebeat-Apache Module- Nodata

Hello,

I configure filebeat in my system, the probleme is, whaen i configure the modure system , i receive all datas and graphic, it is not the same for apache. We donot receive anaything

I have enable the module and configure the path

- module: apache
** # Access logs**
** access:**
** enabled: true**

** # Set custom paths for the log files. If left empty,**
** # Filebeat will choose the paths depending on your OS.**
** var.paths: ["/var/log/httpd/dispatcher_access_log"]**

Still no datas, can i have some help please ?

Hi @emmanuel_stevens_LED

Does the file /var/log/httpd/dispatcher_access_log exist? Do you see any errors related to the apache module, to the defined file path when starting filebeat?

yes, the file existe and i see no error from filebeat. System module send his datas perfectly

There are many possible reasons ....

What version are you on?

Did you enable the apache module?

filebeat modules enable apache

Did you run setup before starting filebeat?

filebeat setup -e

When you say you do not see the logs... Where are you looking Discover?

So your file has no extension?

/var/log/httpd/dispatcher_access_log

Are these common apache logs? or have they been customized?

In the filebeat logs you should see that that path... something like

2022-09-23T11:57:58.769-0700    INFO    [input] log/input.go:171        Configured paths: [/usr/local/var/log/apache2/access_log*]      {"input_id": "311cfe37-e4f4-4587-a387-885b78c57f6c"}
2022-09-23T11:57:58.770-0700    INFO    [input] log/input.go:171        Configured paths: [/usr/local/var/log/apache2/error_log*]       {"input_id": "847e93b7-2442-4c0c-a88a-063b761b095f"}