File beats is not sending logs to elastic search

Hi , i have installed file beats in my system. https://justpaste.it/3dvoz --> configration . this is supposed to send logs to elastic search . but its not doing. elastic instance is up and running fine and even receiving logs from other applications. but am wondering why am not able to send logs any thoughts ?

Hi @Seetharaman_K,

When adding windows paths to the configuration take into account that the backslash is used as escape character, so you need to put two of them (like c:\\programdata\\elasticsearch\\logs\\*).

Or, more conveniently, quote these paths using single quotes, like:

paths:
- 'C:\Users\G703065\AppData\Local\UiPath\Logs'
- 'c:\programdata\elasticsearch\logs\*'

got it solved i need to add something like *.log to the end. i did not do that. so now am able to harvest logs thanks.

1 Like

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