1
response

I have a series of file inputs and tpc outputs. The output targets are geo-balanced across data centers which traffic is directed to based on the originating request. If we have a situation where we need to take one of the two collectors down all the agents would point at one side. Because of this, I want NXLog to reconnect to the output target at a particular interval. How do you properly use the 'reconnect();' procedure? We have a series of inputs using the same outputs.

<Output Tomcat_App_Logs_Out>
    Module      om_tcp
    Host        NP-NC-TOMCAT.Contoso.com
    Port        4112
   <Schedule>
        Every   1 min
        Exec    reconnect();
   </Schedule>
</Output>

 

AskedMarch 28, 2016 - 6:37pm

Answer (1)