Deployment Architecture

Convert committed storage size in bytes to GB for different virtual machines.

bidahor13
Path Finder

Hi,

So, I have my search pulling out the correct data for the storage for each virtual machine. But, the problem is that the values are in bytes and I need to get the values in GB as my result and compare it with the host machine(called "changeSet.config.name") . Same thing for the memory (changeSet.summary.quickStats.hostMemoryUsage)

Here is my search

index=* sourcetype=vm "64-bit" | dedup changeSet.config.name | eval committedstorage = changeSet.summary.storage.committed/1000000000 | table changeSet.config.name , committedstorage changeSet.summary.quickStats.hostMemoryUsage

![alt text][1]

I tried to use the eval function but not getting the results.

Tags (2)
0 Karma

woodcock
Esteemed Legend

Try this:

index=* sourcetype=vm "64-bit" | dedup changeSet.config.name | eval committedstorage = $changeSet.summary.storage.committed$/(1024*1024*1024) | table changeSet.config.name , committedstorage changeSet.summary.quickStats.hostMemoryUsage

bidahor13
Path Finder

Thanks ! Works perfectly.

0 Karma

bidahor13
Path Finder

Any idea on how to find the write latency and read latency for each datastore on the virtual machines?

0 Karma

woodcock
Esteemed Legend

I'm not sure what you mean but if you ask another question and include some sample events, I am sure one of us will be able to answer.

0 Karma
Get Updates on the Splunk Community!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...