Collect logs located in other directories. #488
-
Hello community, does the UTMStack agent have the capability to collect custom logs located outside the usual folder directories? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @tssingtampa, the agent only stores beat related logs, the other inputs act as a proxy, forwarding incoming logs. If you need to receive custom logs from files, you can modify the UTMStackModulesLogsCollector configuration:
There you can enable the log collection and configure it to the path you want. Then you will need to restart the service.
So you can finally see the logs in the log explorer, under the generic label: |
Beta Was this translation helpful? Give feedback.
Hi @tssingtampa, custom log parsing must be done by yourself using logstash filters definition language, UTMStack provides a way to add new filters to a specific pipeline, to do that go to Data Processing in the lateral menu , select the pipeline from where the logs are coming, and add you custom filter there. Note that a filter's input structure is the output of the previous one, add filters carefully, sintax error causes the entire pipeline selected to go down.