<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to make Syslog-ng Server HA with load balancing? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472881#M81267</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;We'd like to make our syslog-ng server HA. Which is a heavy forwarder instance.&lt;/P&gt;
&lt;P&gt;The plan is to clone our syslog server. Front both of the machines with the load balancer. And set it to active passive.&lt;/P&gt;
&lt;P&gt;This way if the active syslog server experiences any issue's, we will have a script enable the data inputs on the passive machines and the load balancer switches the passive to active and pick up on ingestion where it left off.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Could this work?&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Feb 2022 17:48:48 GMT</pubDate>
    <dc:creator>clozach</dc:creator>
    <dc:date>2022-02-23T17:48:48Z</dc:date>
    <item>
      <title>How to make Syslog-ng Server HA with load balancing?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472881#M81267</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;We'd like to make our syslog-ng server HA. Which is a heavy forwarder instance.&lt;/P&gt;
&lt;P&gt;The plan is to clone our syslog server. Front both of the machines with the load balancer. And set it to active passive.&lt;/P&gt;
&lt;P&gt;This way if the active syslog server experiences any issue's, we will have a script enable the data inputs on the passive machines and the load balancer switches the passive to active and pick up on ingestion where it left off.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Could this work?&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 17:48:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472881#M81267</guid>
      <dc:creator>clozach</dc:creator>
      <dc:date>2022-02-23T17:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472882#M81268</link>
      <description>&lt;P&gt;Hi clozach,&lt;BR /&gt;
I implemented Splunk syslog servers in many projects,&lt;BR /&gt;
I always used two Heavy Forwarders running in active/active mode with a Load Balancer that distributes traffic between them and guarantees fail over feature.&lt;BR /&gt;
Using active/active mode you don't have problems in switching.&lt;BR /&gt;
Only one attentions: &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;when you configure Load balancer, set it in transparent mode, to have the original target IP address,&lt;/LI&gt;
&lt;LI&gt;when you have to do something on Heavy Forwarders, make it one server at a time, in other words, don't use Deployment Server to manage them and manually set the configurations, to be sure that there always an Heavy Forwarder up and running.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 16:23:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472882#M81268</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-31T16:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472883#M81269</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;Thanks so much for the insight. &lt;/P&gt;

&lt;P&gt;How do you prevent duplicate data in this architecture? When considering it, I couldn't come up with a workaround to ingesting the same data. We have technologies configured to syslog data to our heavy forwarder (obviously lol), but in this architecture you would have to configure your tech to send logs to both heavy forwarder which would parse and send the same logs to the indexers.&lt;/P&gt;

&lt;P&gt;Is this the job of the indexer cluster to prevent indexing of duplicate data? I think the same would apply for API pulls if these are configured identically.&lt;/P&gt;

&lt;P&gt;I could be understanding something wrong, so correct me where needed. &lt;/P&gt;

&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 17:54:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472883#M81269</guid>
      <dc:creator>clozach</dc:creator>
      <dc:date>2019-10-31T17:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472884#M81270</link>
      <description>&lt;P&gt;Your load balancer should only send each event to one host, so duplication shouldn't be an issue.&lt;/P&gt;

&lt;P&gt;One thing to be mindful of is how your LB treats UDP traffic. I found that my F5s were fixating on one server unless I set the stream timeout to 0.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 19:05:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472884#M81270</guid>
      <dc:creator>nplamondon</dc:creator>
      <dc:date>2019-10-31T19:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472885#M81271</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;BR /&gt;
as said by @nplamondon, you use the Load Balancer just to have continuity of work without a double indexing of events.&lt;BR /&gt;
The flow is the following:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Your target server sends event syslog to the Load Balancer,&lt;/LI&gt;
&lt;LI&gt;Load balancer sends event to one Heavy Forwarder that it founds active,&lt;/LI&gt;
&lt;LI&gt;Heavy Forwarder sends event to Indexers.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Load Balancer has two jobs:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;during normal work it distributes events to both the HFs but only one HF at a time not the same event to both the HFs,&lt;/LI&gt;
&lt;LI&gt;during fault or maintenance of one HF it sends logs to the active HF.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 09:16:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472885#M81271</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-01T09:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472886#M81272</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;Would this be the same functionality for any API inputs we have on the same box.&lt;/P&gt;

&lt;P&gt;With API inputs in active - active they would both request the necessary information and the load balancer wouldn't be able to differentiate it and would cause both heavy forwarders to send the same data for indexing.&lt;/P&gt;

&lt;P&gt;Any idea how we can work around this?&lt;/P&gt;

&lt;P&gt;Thanks again for all the help!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 19:26:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472886#M81272</guid>
      <dc:creator>clozach</dc:creator>
      <dc:date>2019-11-04T19:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472887#M81273</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;Any advice regarding my comment on 11/4? would really appreciate it.&lt;/P&gt;

&lt;P&gt;Thank you,&lt;BR /&gt;
Christian&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 16:48:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472887#M81273</guid>
      <dc:creator>clozach</dc:creator>
      <dc:date>2019-11-12T16:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472888#M81274</link>
      <description>&lt;P&gt;Hi @clozach,&lt;BR /&gt;
sorry for my delay, but I was out!&lt;BR /&gt;
anyway, I' not an expert of API, what kind of API inputs are you speaking?&lt;BR /&gt;
this configuration is for push inputs, in other words, the target servers send to a shared address (IP or DNS) messages (syslogs) that are distributed between HFs.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 17:17:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472888#M81274</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-12T17:17:45Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472889#M81275</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;No worries at all! The API's are modular GET requests. &lt;/P&gt;

&lt;P&gt;I think I understand conceptually how this method works around syslog, but we would like to have those API inputs also HA.&lt;/P&gt;

&lt;P&gt;If that requires a new machines, then so be it, but curious if it's possible in the architecture you've identified.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Christian &lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 17:19:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472889#M81275</guid>
      <dc:creator>clozach</dc:creator>
      <dc:date>2019-11-13T17:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472890#M81276</link>
      <description>&lt;P&gt;Hi @clozach,&lt;BR /&gt;
concettually, if these APIs push events to an address (IP or DNS) you can use the Load Banancer to distribute traffic between active HFs and solve HA problems, but you have to see how they work.&lt;/P&gt;

&lt;P&gt;It's different if these APIs work on a Splunk Server and pull data from an external appliance (e.g. BlueCoat) because you have to install them in one HF, so you haven't an HA architecture but only a cold solution.&lt;/P&gt;

&lt;P&gt;I don't think that you need an additional server, but monitor your servers and see the workload on infrastructure (CPU and RAM) so you can tune your infrastructure eventually adding more power or a new server, but I shouldn't start with a new server.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2019 11:48:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/472890#M81276</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-14T11:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/586249#M103072</link>
      <description>&lt;P&gt;Hi, I'm curious, which load balancers do you use?&amp;nbsp; I'm having issues getting nginx to not use a down server when the udp protocol.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 14:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/586249#M103072</guid>
      <dc:creator>mlody11</dc:creator>
      <dc:date>2022-02-23T14:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/586326#M103081</link>
      <description>&lt;P&gt;With a single nginx you're still gonna have SPOF. Just in another spot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 22:54:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/586326#M103081</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-23T22:54:14Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/586346#M103084</link>
      <description>&lt;P&gt;That is correct, you'll need either a clustering solution in addition or nginx plus which has HA.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 04:23:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/586346#M103084</guid>
      <dc:creator>mlody11</dc:creator>
      <dc:date>2022-02-24T04:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Make Syslog-ng Server HA with load balancing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/586374#M103089</link>
      <description>&lt;P&gt;So the additional layer of nginx is - in my oppinion - a bit pointless. Two syslog receivers with a floating IP and - for example - keepalived would suffice.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 08:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-make-Syslog-ng-Server-HA-with-load-balancing/m-p/586374#M103089</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-24T08:24:16Z</dc:date>
    </item>
  </channel>
</rss>

