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
Get Updates on the Splunk Community!

Splunk Observability Cloud’s AI Assistant in Action Series: Analyzing and ...

This is the second post in our Splunk Observability Cloud’s AI Assistant in Action series, in which we look at ...

Elevate Your Organization with Splunk’s Next Platform Evolution

 Thursday, July 10, 2025  |  11AM PDT / 2PM EDT Whether you're managing complex deployments or looking to ...

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...