- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nix Add On: How to convert numerical values
vader13
New Member
06-18-2019
01:58 PM
We are using the *NIX add-on that is using the TOP.sh script to pull Memory per process.
The data logged appears to just be a string "208m" or "9990" or "2.1g".
Splunk doesn't appear to understand it is a numerical value.
I want to perform mathematical calculations on this data.
Is there a function to convert this to a numerical value or do I need to strip the suffix and multiply the result by the suffix value?
