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

Suming two numeric fields results in a concatenation of the two fields.

$
0
0
Hello Splunk Ninjas, First time I've seen this: I have two fields, clearly regognised as numeric fields by Splunk. They are named: "Put Count" "Put1 Count" I want to sum these fields, so I do this: eval Put_Count_Sum= "Put Count" + "Put1 Count" But instead of `Put_Count_Sum` being the sum of both fields, Put_Count_Sum is equal to the text string: "Put CountPut1 Count" I understand it might have something to do with my fields having spaces, but not sure how to work around that. Thank you.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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