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!

Analytics Workspace deprecation

As of Splunk Cloud Platform 10.4.2604 and Splunk Enterprise 10.4, Analytics Workspace is now deprecated. ...

Splunk Developer Day Recap: Building, Publishing, and Growing on the Splunk Platform

Splunk Developer Day brought the Splunk developer community together for a practical look at what it means to ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...