How many folders/files nxlog can monitor?

Tags:

#1 zpp

Hi,

I'm setting up nxlog on a window box to read files to send to elasticsearch, and I have some questions:

1) is there a limit on the number of im_file inputs that a output (om_tcp) can handle? And is nxlog reading those monitored files concurrently or in serial one after each other?

2) we can setup multiple paths in nxlog, different path means parallel processing, e.g. each path is handled by different threads??

3) can we install mutiple nxlog services in one box?

Thanks a lot!

#2 adm Nxlog ✓
#1 zpp
Hi, I'm setting up nxlog on a window box to read files to send to elasticsearch, and I have some questions: 1) is there a limit on the number of im_file inputs that a output (om_tcp) can handle? And is nxlog reading those monitored files concurrently or in serial one after each other? 2) we can setup multiple paths in nxlog, different path means parallel processing, e.g. each path is handled by different threads?? 3) can we install mutiple nxlog services in one box? Thanks a lot!

It should be able to handle a couple thousand but checking through a large number of files uses more resources so it is always a good idea to move the files out of the way.

You can add multiple im_file instances. Each module instance is processed by a separate thread.

It's possible to run multiple nxlog instances with different config files on Linux/Unix. On windows this should be also possible with some sc.exe magic.