Splunk Search

How to edit my geostats search for a simple map visualization? Getting "no match found"

seetharamanss
Explorer

Hi,

I'm trying to do a simple MAP visualization with the search below, but it is throwing me error no match found. Is there any thing I'm missing out?

host = "hostname" sourcetype = "sourcetypelog"  MarketName =SINGAPORE | geostats latfield=1.3667 longfield=103.8 count by MarketName
0 Karma
1 Solution

sundareshr
Legend

Try this

... | eval lat="1.3667" | eval lon="103.8"| geostats latfield=lat longfield=lon count by MarketName

View solution in original post

0 Karma

s2_splunk
Splunk Employee
Splunk Employee

latfield/longfield are meant to be the field names for latitude and longitude, not the field values.

0 Karma

sundareshr
Legend

Try this

... | eval lat="1.3667" | eval lon="103.8"| geostats latfield=lat longfield=lon count by MarketName
0 Karma

seetharamanss
Explorer

Thank you . It worked

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...