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!

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 3)

Welcome back to Splunk Classroom Chronicles, our ongoing blog series that pulls back the curtain on Splunk ...

Operationalizing TDIR: Building a More Resilient, Scalable SOC

Optimizing SOC workflows with a unified, risk-based approach to Threat Detection, Investigation, and Response ...

Almost Too Eventful Assurance: Part 1

Modern IT and Network teams still struggle with too many alerts and isolating issues before they are notified. ...