Splunk Search

How to show values ​​that are greater than 50 in a table?

Luninho
Explorer

I have the search:

| tstats count where index=fologs module IN (G*) by module
| sort -count limit=8

But I have a problem - there are several modules with name G10MIP* which always have min count 30, so I want to show only count >30 for modules with name G10MIP*


Labels (1)
0 Karma
1 Solution

scelikok
SplunkTrust
SplunkTrust

Hi, @Luninho,

Please try below;

| tstats count where index=fologs module IN (G*) by module
| where NOT (like(module,"G10MIP%") AND count < 31)
| sort -count limit=8

 

If this reply helps you, an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.

View solution in original post

scelikok
SplunkTrust
SplunkTrust

Hi, @Luninho,

Please try below;

| tstats count where index=fologs module IN (G*) by module
| where NOT (like(module,"G10MIP%") AND count < 31)
| sort -count limit=8

 

If this reply helps you, an upvote is appreciated.

If this reply helps you an upvote and "Accept as Solution" is appreciated.
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...