<?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 Re: Is it possible to collect logs from Active/Standby application server pair without log duplication? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362323#M66043</link>
    <description>&lt;P&gt;I've been using dedup, but was hoping there was a way to no index it to begin with, as the log files are identical and add no value to the index.&lt;/P&gt;

&lt;P&gt;The application also uses the log files internally for it's users to query in the native environment. If the files aren't synchronised between the servers then they will get different results depending on which is the current active server. Either can be active at any one time.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Mar 2017 21:04:41 GMT</pubDate>
    <dc:creator>tonyparreiro</dc:creator>
    <dc:date>2017-03-21T21:04:41Z</dc:date>
    <item>
      <title>Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362321#M66041</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;We have an application which runs on 2 servers, 1 is the active server and one is a hot standby so if one server fails the other automatically picks up, we can also force it to fail over as part of normal maintenance tasks. &lt;/P&gt;

&lt;P&gt;The problem is, the application generates logs on the currently active server, but periodically the log directory in synchronized so that we have a full set of history on both machines to make sure if one ever goes down catastrophically we can recover.&lt;/P&gt;

&lt;P&gt;Setting up a Splunk Universal Forwarder on each of the machines will send 2 copies of the logs to Splunk.&lt;/P&gt;

&lt;P&gt;Is there some method people have used to stop ingesting duplicate log files/entries from what is essentially 2 separate systems?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Tony&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 04:36:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362321#M66041</guid>
      <dc:creator>tonyparreiro</dc:creator>
      <dc:date>2017-03-21T04:36:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362322#M66042</link>
      <description>&lt;P&gt;There is no way to do this in Splunk pre-indexing. Via search you could do a dedup on the messages. One think you could do is copy to the other server under a different file name, and then index this file also. Then at least your host and source will be different for the sourcetype. So being copied from Active (host1) to Standby (host2): host=host2 source=mainlog.log-copy_from_active.&lt;/P&gt;

&lt;P&gt;The other question to this would be, if you have Splunk on both the Active and Standby server, then why do you need to copy the logs around? Splunk will ingest these on both as events are generated, and then in Splunk Search you can see these messages, by source and host.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 13:18:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362322#M66042</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2020-09-29T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362323#M66043</link>
      <description>&lt;P&gt;I've been using dedup, but was hoping there was a way to no index it to begin with, as the log files are identical and add no value to the index.&lt;/P&gt;

&lt;P&gt;The application also uses the log files internally for it's users to query in the native environment. If the files aren't synchronised between the servers then they will get different results depending on which is the current active server. Either can be active at any one time.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2017 21:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362323#M66043</guid>
      <dc:creator>tonyparreiro</dc:creator>
      <dc:date>2017-03-21T21:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362324#M66044</link>
      <description>&lt;P&gt;Can you just use syslog? Then instead of getting mixed up in this sync process, you just catch a stream from the boxes and you don't have to worry about who is active and who isn't?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 13:20:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362324#M66044</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-03-24T13:20:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362325#M66045</link>
      <description>&lt;P&gt;The best that you can do is to schedule a search like this to run every hour for the last hour to &lt;CODE&gt;delete&lt;/CODE&gt; the duplicates.  It does not save you license but should speed up your searches and confuse people less:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| streamstats count AS _serial BY _raw | search _serial&amp;gt;1 | delete
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 25 Mar 2017 05:40:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362325#M66045</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-25T05:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362326#M66046</link>
      <description>&lt;P&gt;I'm sorry, I'm not sure what you mean exactly. But the application that generates the logs has no concept of what syslog is, it can only write to a file which is then rolled over once per day (usually) can be more often.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 03:40:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362326#M66046</guid>
      <dc:creator>tonyparreiro</dc:creator>
      <dc:date>2017-03-27T03:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362327#M66047</link>
      <description>&lt;P&gt;Don't really like the idea of using up double the license, but looks like that might have to be the way.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 04:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362327#M66047</guid>
      <dc:creator>tonyparreiro</dc:creator>
      <dc:date>2017-03-27T04:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362328#M66048</link>
      <description>&lt;P&gt;Again, since these are both different systems, why don you just ingest (use SplunkUF with a monitor) on each host.&lt;/P&gt;

&lt;P&gt;The logs will appear from two distinct hosts, and you can search based on that. E.g...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=notgoodloggingsystem host=maybeactivehost1 host=maybeactivehost2  source="c:\mycrappy logs\logfile.log"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you do this, there is no need to copy logs between hosts and worry about event duplication.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 05:21:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362328#M66048</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2017-03-27T05:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362329#M66049</link>
      <description>&lt;P&gt;Unfortunately the logs primary function is within the application, they are used by the users of the application and so need to be synchronised across both machines. So which ever machine is active there is a complete list available to the user. So they must be replicated across the 2 systems.&lt;/P&gt;

&lt;P&gt;But yes completely agree if the logs did not need to replicated across both systems this would not be an issues.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 20:40:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362329#M66049</guid>
      <dc:creator>tonyparreiro</dc:creator>
      <dc:date>2017-03-27T20:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362330#M66050</link>
      <description>&lt;P&gt;Meh, worth a shot. Many application are able to use syslog to both send to remote host and to write to disk..If you know syslog is not an option for remote logging here, then I guess the quest continues....&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2017 22:09:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362330#M66050</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-03-27T22:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362331#M66051</link>
      <description>&lt;P&gt;Sadly this app is not of of those that knows what syslog is. &lt;/P&gt;

&lt;P&gt;There is scope for having the vendor add it, down the road but this will take some time.&lt;/P&gt;

&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:27:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362331#M66051</guid>
      <dc:creator>tonyparreiro</dc:creator>
      <dc:date>2017-03-29T02:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362332#M66052</link>
      <description>&lt;P&gt;sad panda. unfortunately it sounds like dedup is the easiest option here...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:42:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362332#M66052</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-03-29T02:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362333#M66053</link>
      <description>&lt;P&gt;Is there any logging out mechanism aside from this log file? Something you could send out to HEC endpoint? Sounds like a long shot...&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:46:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362333#M66053</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2017-03-29T02:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362334#M66054</link>
      <description>&lt;P&gt;Unfortunately right now log files are the only option, they have discussed being able to forward logs to other systems but as of right now that requires recompiling dll's and a few other things, and it would only end up in SQL server which would then need a license for plus would also introduce a further delay.&lt;/P&gt;

&lt;P&gt;I think for now dedup or mark the duplicate records as deleted and later on hopefully they will add the syslog option. It would be the ideal scenario and should be relatively easy from a coder perspective.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:53:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362334#M66054</guid>
      <dc:creator>tonyparreiro</dc:creator>
      <dc:date>2017-03-29T02:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to collect logs from Active/Standby application server pair without log duplication?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362335#M66055</link>
      <description>&lt;P&gt;I think so, for now at least.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2017 02:53:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-collect-logs-from-Active-Standby-application/m-p/362335#M66055</guid>
      <dc:creator>tonyparreiro</dc:creator>
      <dc:date>2017-03-29T02:53:44Z</dc:date>
    </item>
  </channel>
</rss>

