Splunk Search

How to split a GC log using eval funciton?

aqaadi
Engager

Below is the sample GC log.
Could someone let me know how to split it using eval function?

2019-09-11T02:27:50.180-0400: 660007.803: [GC (Allocation Failure) [PSYoungGen: 21216K->224K(20992K)] 30129K->9137K(34816K), 0.0041367 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
2019-09-11T03:07:20.083-0400: 662377.706: [GC (Allocation Failure) [PSYoungGen: 20704K->288K(20992K)] 29617K->9201K(34816K), 0.0021393 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
2019-09-11T03:45:50.519-0400: 664688.142: [GC (Allocation Failure) [PSYoungGen: 20256K->288K(19968K)] 29169K->9201K(33792K), 0.0019324 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
2019-09-11T04:22:34.994-0400: 666892.617: [GC (Allocation Failure) [PSYoungGen: 19744K->224K(19968K)] 28657K->9137K(33792K), 0.0020489 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2019-09-11T04:58:40.467-0400: 669058.091: [GC (Allocation Failure) [PSYoungGen: 19168K->256K(18944K)] 28081K->9169K(32768K), 0.0022131 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
2019-09-11T05:34:08.080-0400: 671185.704: [GC (Allocation Failure) [PSYoungGen: 18688K->256K(18944K)] 27601K->9169K(32768K), 0.0023361 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
2019-09-11T06:08:40.817-0400: 673258.440: [GC (Allocation Failure) [PSYoungGen: 18176K->224K(17920K)] 27089K->9137K(31744K), 0.0016236 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Rather than tell us how to solve your problem, why not tell us the problem you need to solve and we'll suggest ways to do it? What result are you trying to get? Why do you have to use eval?

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...