<?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: Splunk catalina.out for java.lang.OutOfMemoryError: PermGen space on remote VM in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127410#M97733</link>
    <description>&lt;P&gt;Make sure your whitelist settings actually are &lt;CODE&gt;.*&lt;/CODE&gt; and &lt;CODE&gt;_.*&lt;/CODE&gt;... there should be no need to set them explicitly though, the defaults will work just fine.&lt;/P&gt;

&lt;P&gt;As for the receiver, run this on the indexer CLI:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk enable listen 9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/Forwarding/Enableareceiver#Set_up_receiving_with_Splunk_CLI"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.2/Forwarding/Enableareceiver#Set_up_receiving_with_Splunk_CLI&lt;/A&gt; for more info on receiving. On the forwarder, run this to tell it where to forward its data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk add forward-server indexerhost:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As for connectivity, talk to your network administrators about possibly existing firewalls or other network hurdles.&lt;/P&gt;</description>
    <pubDate>Thu, 10 Apr 2014 14:44:13 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-04-10T14:44:13Z</dc:date>
    <item>
      <title>Splunk catalina.out for java.lang.OutOfMemoryError: PermGen space on remote VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127409#M97732</link>
      <description>&lt;P&gt;I am trying to setup Splunk to monitor a remote tomcat instance ( catalina.out ) for messages like permGen Running out of Memory&lt;BR /&gt;
Specifically:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Exception in thread "http-bio-8080-exec-36" java.lang.OutOfMemoryError: PermGen space
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I was able to install Splunk on host A, and on B i have Tomcat running, plys Universal forwarder running with:&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/apps/SplunkUniversalForwarder/default/inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///usr/share/apache-tomcat-7.0.47/logs]
sourcetype = access_common
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/opt/splunkforwarder/etc/system/local/outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;forwardedindex.0.whitelist = .
forwardedindex.1.whitelist = _.
[tcpout:default_index] server=&amp;lt;server where splunk server is installed&amp;gt;:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So how do i :&lt;BR /&gt;
 1. Make sure the forwarder HAS Connectivity and is able send logs, some command command line utilities perhaps&lt;BR /&gt;
 2. How do i setup the receiver / splunk server ?&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2014 13:55:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127409#M97732</guid>
      <dc:creator>kamal2222ahmed</dc:creator>
      <dc:date>2014-04-10T13:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk catalina.out for java.lang.OutOfMemoryError: PermGen space on remote VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127410#M97733</link>
      <description>&lt;P&gt;Make sure your whitelist settings actually are &lt;CODE&gt;.*&lt;/CODE&gt; and &lt;CODE&gt;_.*&lt;/CODE&gt;... there should be no need to set them explicitly though, the defaults will work just fine.&lt;/P&gt;

&lt;P&gt;As for the receiver, run this on the indexer CLI:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk enable listen 9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.2/Forwarding/Enableareceiver#Set_up_receiving_with_Splunk_CLI"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.2/Forwarding/Enableareceiver#Set_up_receiving_with_Splunk_CLI&lt;/A&gt; for more info on receiving. On the forwarder, run this to tell it where to forward its data:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk add forward-server indexerhost:9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;As for connectivity, talk to your network administrators about possibly existing firewalls or other network hurdles.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2014 14:44:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127410#M97733</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-10T14:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk catalina.out for java.lang.OutOfMemoryError: PermGen space on remote VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127411#M97734</link>
      <description>&lt;P&gt;I tried to run add forward-server on the forwarder , with the same admin credentials as i use to login to the indexer, but getting error:&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk add forward-server vm-staging.vm:9997&lt;BR /&gt;
Splunk username: admin&lt;BR /&gt;
Password: &lt;BR /&gt;
Login failed&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2014 17:20:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127411#M97734</guid>
      <dc:creator>kamal2222ahmed</dc:creator>
      <dc:date>2014-04-10T17:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk catalina.out for java.lang.OutOfMemoryError: PermGen space on remote VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127412#M97735</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/172708"&gt;@martin_mueller&lt;/a&gt;&lt;BR /&gt;
more /opt/splunkforwarder/etc/system/local/outputs.conf&lt;BR /&gt;
forwardedindex.0.whitelist = .&lt;BR /&gt;
forwardedindex.1.whitelist = _.&lt;BR /&gt;
[tcpout:default_index] server=vm-staging.vm:9997&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:21:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127412#M97735</guid>
      <dc:creator>kamal2222ahmed</dc:creator>
      <dc:date>2020-09-28T16:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk catalina.out for java.lang.OutOfMemoryError: PermGen space on remote VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127413#M97736</link>
      <description>&lt;P&gt;The forwarder has no clue about your indexer's credentials, use admin:changeme on the forwarder.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2014 18:04:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127413#M97736</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-10T18:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk catalina.out for java.lang.OutOfMemoryError: PermGen space on remote VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127414#M97737</link>
      <description>&lt;P&gt;so the username and password for the command :&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk add forward-server vm-staging.vm:9997&lt;BR /&gt;
are local ? meaning, i can choose the password for user splunk, which would be local the forwarder ?&lt;BR /&gt;
ok i used admin:changeme&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/bin/splunk add forward-server vm-jenkins-staging.3mhis.vm:9997&lt;BR /&gt;
Splunk username: admin&lt;BR /&gt;
Password: &lt;BR /&gt;
Added forwarding to: vm-staging.vm:9997.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Apr 2014 23:00:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127414#M97737</guid>
      <dc:creator>kamal2222ahmed</dc:creator>
      <dc:date>2014-04-10T23:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk catalina.out for java.lang.OutOfMemoryError: PermGen space on remote VM</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127415#M97738</link>
      <description>&lt;P&gt;and this Works!, thanks basic config is SO simple in Splunk, quite amazing. I wish the documentation was more use case driven.&lt;BR /&gt;
next .....:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;extract , or plot only the PermGen log &lt;/LI&gt;
&lt;LI&gt;Setup Notifications ( Email ) upon occurrence of Error&lt;/LI&gt;
&lt;LI&gt;Setup another log parser to get application errors&lt;/LI&gt;
&lt;LI&gt;Correlate the two errors temporally&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 11 Apr 2014 02:01:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-catalina-out-for-java-lang-OutOfMemoryError-PermGen-space/m-p/127415#M97738</guid>
      <dc:creator>kamal2222ahmed</dc:creator>
      <dc:date>2014-04-11T02:01:38Z</dc:date>
    </item>
  </channel>
</rss>

