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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...