Reporting

how to speedup search machine data?

ugy
Explorer

Hello everyone... 🙂

My Data is under type...
|TAG01|TAG02|TAG03|
|434.1|444.0|42.7|
|420.1|424.5|40.6|
|470.3|453.8|43.5|
|452.6|413.6|40.4|
|429.3|419.3|44.7|

I'd like to check realtime data in Splunk Gauge, So, I use this search
"index=myindex | timechart latest(TAG01)"

How to speedup search?

If use accelation Report, Can i use latest or first?

Thanks.

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

If you're just displaying a single value, you should be able to speed up your realtime search like this:

index=myindex TAG01=* | tail 1 | table TAG01

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

If you're just displaying a single value, you should be able to speed up your realtime search like this:

index=myindex TAG01=* | tail 1 | table TAG01

martin_mueller
SplunkTrust
SplunkTrust

For a line chart you're probably looking for something like this:

index=myindex TAG01=* | timechart avg(TAG01)

Report Acceleration can be enabled for this if you need to.

0 Karma

ugy
Explorer

I have two issue.
First Gauge View, Two Linechart View.
So, I have to use timechart.
Your First answer for Gauge View. Thank you.
I'd like to view Long time for timechart. So, I asked about timechart and accelation report.

Anyway! Your answer is Helpfull to me.
Thank you.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Why would you want to use timechart to feed a gauge? timechart gives you a series of values, for example one per minute, that's often charted using columns, lines, or areas. A gauge only displays one value.

The more important question is, what's your use case?

0 Karma

ugy
Explorer

First of all
Thank you for your answer.

If i'd like to use timechart or Accelation Report, how to use search?

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...