Dashboards & Visualizations

How to fetch the word from logs

aditsss
Motivator

Hi Team,

Can someone guide me how to fetch a word(highlighted ) from below logs

AccountMonthendReset - Total number of records reset after monthend:111439411

AccountBalanceMonthendSnapshot - Total number of records in Monthend Cache:111439411

MonthlyCollateralProcessor - compareCollateralStatsData :
 statisticData: StatisticData [selectedDataSet=0, rejectedDataSet=0, totalOutputRecords=0, totalInputRecords=0, fileSequenceNum=0, fileHeaderBusDt=null, busD
t=10/31/2024, fileName=SETTLEMENT_MONTHEND_COLLATERAL_CONSUMER_CHARGE, totalAchCurrOutstBalAmt=4.57373200875E9, totalAchBalLastStmtAmt=4.57373200875E9, total
ClosingBal=4.57373200875E9, sourceName=null, version=1, associationStats={}]
 with collateralSum 4.57373200875E9 openingBal 4.53003366393E9 ageBalTot 4.57373200875E9 busDt 10/31/2024

Can someone please guide how to fetch highlighted words

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Try something like this

| rex "Total number of records[^:]+\s*(?<records>\d+)"
| rex "(?<closing>ClosingBal=[^,]+)"
| rex "(?<opening>openingBal\s\S+)"
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...