Getting Data In

Is there a specific sourcetype extractor for Java Garbage Collection log?

schrepfler
Engager

Java's gc.log format offers a wealth of information about the Java Garbage Collection lifecycle. There are many tools which deal with the format historical and implementation specific differences. Would it be possible for Splunk to provide an extractor specifically for that sourcetype and expose the GC specific metrics/fields automatically as some extracted values require operations which can be implemented in code much more efficiently?

koshyk
Super Champion

It depends on your application server (Websphere, weblogic etc). There is Websphere TA addon for Splunk which caters for the gc.log as ibm:was:gcLog automatically as per this documentation and with relevant Inventory, Performance CIM model

ibm:was:gcLog   Garbage collection log (gc.log) Inventory, Performance  Application Server, OS
0 Karma

koshyk
Super Champion

can you please provide sample of gc.log ? do you know which application server generates it? Websphere/weblogic etc..?

0 Karma

schrepfler
Engager
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...