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? |
Answered by
c3s4rfred
Feb 22, 2024
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: |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



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.