Splunk Search

After Zoom in splunk map not showing the piechart !

ajitshukla61116
Path Finder

Before zoom in, I get the correct result.
alt text

After zooming in I don't get the proper result.

alt text

If we further zoom in then we are getting nothing. I don't know what the issue is, please help me to resolve this problem.

0 Karma

niketn
Legend

@ajitshukla61116 what is the query you are using? What is the data for pie slice? Have you also tried the Maps+ Visualization?

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

ajitshukla61116
Path Finder

thanks @niketnilay ,my query is index="test_data"| geostats latfield=Latitude longfield=Longitude count by status |sort - HIGH | head 20

here status has two value HIGH and LOW.

I haven't tried map+visualization ,just trying this .

0 Karma

niketn
Legend

On the map what exactly the unit for location? Is it Country or State or City or Zip? Can you try the following (I have taken City as the location identifier)

index="test_data"
| eval location=City.":".Latitude.":".Longitude 
| chart count by  location status
| sort 0 - "HIGH"
| head 20
| eval location=split(location,":"), City=mvindex(location,0), Latitude=mvindex(location,1), Longitude=mvindex(location,2)
| fields - location
| geostats latfield=Latitude longfield=Longitude sum(GET) sum(POST) by City
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

ajitshukla61116
Path Finder

thanks @niketnilay for your support, actually I am new to splunk ,so I just know the basic things .On the Map I am passing Latitude and longitude only .

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 ...