Hi everyone,
I'm currently working on a table in a dashboard which shows the location of psychical and virtual servers. The psychical servers have their own index, and so do the virtual servers. These indexes contain all kinds of information, among which the location of the server. In my query for the table I use a join to combine the two and so far it seems to be working.
This is the code for the table:
index=cmdb_horus source=baseline_servers name=$vm$
| dedup name
| eval VMName=upper(name)
| join VMName type=left [
search index=vcenter_script host=vcenter_platform Type=VM
| dedup VMName
| rename Datacenter as u_datacenter ]
| rename company AS Customer, u_overal_res_group AS "Primary Responsible Group", operational_status AS "Operational Status in CMDB", support_group AS "Primary Solver Group", os AS "Operating System", VMName AS "Server/Node name", u_datacenter AS Datacenter
| sort "Server/Node name"
| table "Server/Node name", "Operating System", "Operational Status in CMDB", Datacenter, Customer
Which results in this:
![alt text][1]
It mostly looks ok, but as you can see in the *Datacenter* column it doesn't show the datacenter location for a couple of 32-bit servers (VM's). So I thought maybe those VM's just didn't have a location in the data, but when I use a query to look up the location of those servers, it returns them without problem:
![alt text][2]
As you can see the location is there in the data. Do any of you might have a suggestion why it won't show that location for all fields when using the first query?
Thanks!
[1]: /storage/temp/218657-knipsel.jpg
[2]: /storage/temp/218658-knipsel2.jpg
↧