Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Getting an Error in 'eval' command: The expression is malformed. Expected ).

$
0
0
Hello, So I know this exact same error has been brought up by others here. However, my query is a simple one and the error is not making sense to me. I have the parentheses opened and closed in what i thought was the correct syntax. Basically what i am trying to do is trying to map out the data into a choropleth map. In this case, I am only using one state to test this out. I have the same exact query elsewhere working. However, when i tried it here, im receiving this eval error. index=index_name state_name="AK" | eval state=case(like(state_name, "AK"), "Alaska") | chart count by state | lookup geo_us_states longitude as Longitude, latitude as Latitude | geom geo_us_states featureIdField=state allFeatures=true Any suggestions? Thanks all

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>