All Apps and Add-ons

Creating comparative graphs

apalen
Path Finder

Hey Splunkers,

I want to create a graph or line chart that will show transaction total on a day vs day, week vs week, month vs month, quarter vs quarter.

the search i have started with is :

index=pfe_os_messages sourcetype="log4j" | head 10000 | rex "getSettle(?:Now|ment)Total.+?(?\d+)" | search settlement="*" | eval settlement = "$" . (settlement / 100)

Here is some example data: (scrubbed)

time - source - settlement - Raw

16:36.7 - log4j - $60 - invoice.AcquireInvoice (AcquireInvoice.foo) - getSettlementTotal(): 6000

16:36.7 log4j $60 invoice.AcquireInvoice (AcquireInvoice.foo) - getSettleNowTotal(): 6000

16:36.6 log4j $60 invoice.AcquireInvoice (AcquireInvoice.foo) - getSettlementTotal(): 6000

16:36.6 log4j $60 invoice.AcquireInvoice (AcquireInvoice. foo) - getSettleNowTotal(): 6000

16:36.6 log4j $60 invoice.AcquireInvoice (AcquireInvoice. foo) - getSettlementTotal(): 6000

16:36.6 log4j $60 invoice.AcquireInvoice (AcquireInvoice. foo) - getSettleNowTotal(): 6000

16:36.6 log4j $60 invoice.AcquireInvoice (AcquireInvoice. foo) - getSettlementTotal(): 6000

16:36.6 log4j $60 invoice.AcquireInvoice (AcquireInvoice. foo) - getSettleNowTotal(): 6000

16:36.6 log4j $60 invoice.AcquireInvoice (AcquireInvoice. foo) - getSettleNowTotal(): 6000

0 Karma
1 Solution

MuS
SplunkTrust
SplunkTrust

Hi apalen,

the easiest way to get this done, is using the timewrap app http://apps.splunk.com/app/1645/

cheers, MuS

View solution in original post

MuS
SplunkTrust
SplunkTrust

Hi apalen,

the easiest way to get this done, is using the timewrap app http://apps.splunk.com/app/1645/

cheers, MuS

apalen
Path Finder

Alot of people have suggested this in many of the other post i have read. Sigh* change request here i come!!

0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...