All Apps and Add-ons

Timechart displaying undefined NaN in the left corner

tkhatri
Explorer

I am creating a single series timechart that does a count of ids and then I am using | appendpipe [stats count | where count=0] to display 0 instead of 'No results found'.

The timechart shows up right but in addition also shows undefined NaN like shown below. Can anyone please help suggest why is it happening and how to get rid of it.

tkhatri_1-1599775459636.png

Thanks.

 

Labels (2)
0 Karma
1 Solution

renjith_nair
SplunkTrust
SplunkTrust

Does this work for you ?

your search |appendpipe [|makeresults]

 

Happy Splunking!

View solution in original post

renjith_nair
SplunkTrust
SplunkTrust

Does this work for you ?

your search |appendpipe [|makeresults]

 

Happy Splunking!

miguel1423
Explorer

Hi

I've the same issue, could you show me where do you place the "makeresult" please ?

 

 | appendpipe [stats count | where count=0]

 

Regards,

0 Karma

tkhatri
Explorer

Try this: 

| appendpipe [|where count=0
| makeresults]|

miguel1423
Explorer

thx 😃

0 Karma

tkhatri
Explorer

It worked. Thank you Renjith.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...