Splunk Search

OTHER option in timechart doesn't work

amresovci
New Member

Hi Splunkers,

I have search like this:
index="myindex" host="myhost" | timechart span=1month latest(all_cnt) as "Number of all" by code useother=true limit=100

as a result there is all 100 values listed in timechart and legend. If I change query to:
index="myindex" host="myhost" | timechart span=1month latest(all_cnt) as "Number of all" by code useother=true limit=10

only top 10 values are represented in timechart and no "other" values are present in timechart but there is label in the legend.

Why? And how to solve this issue?

Thank you!
Dragana

0 Karma

woodcock
Esteemed Legend

Try this run-anywhere search which works for me. I am sure it will work for you, too, then work backwards:

index=_* | timechart span=1m limit=10 useother=true count by sourcetype
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 ...