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
Legend

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
Legend

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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...