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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...