Splunk Search

Why does appendcols only show a fraction of overall search?

sbentley_ea
Explorer
index=* App=appA OR appB OR appC | 
stats sum(Rate) as appSumRate by _time, App | 
appendcols [ search  index=* App=appD | 
stats sum(Rate) as appDsumRate by _time, App ]

When I try the above search I only get a fraction of the subsearch results, no matter what timerange.

alt text

When I do the appendcols subsearch by itself, it gets the full timerange.
What can I do to increase the range?

woodcock
Esteemed Legend

It is best not to use it. Try this:

(index=* App IN("appA", "appB", "appC", "apD")
| eval AppCategory=if(App=="appD", "appD", "appsABC")
| timechart sum(Rate) AS appSumRate BY AppCategory

sbentley_ea
Explorer

I wanted to separate the appSumRate by Apps and when I use this I only get two categories. To add on to what I was trying to do, with appDsumRate, I wanted to use it to get the ratios relative to the rest of the apps.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...