• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
ControlUp Community

ControlUp Community

Connect, Learn, and Grow

  • Blog
  • Podcast
  • Meetups
  • Archives
  • Categories
    • ControlUp One Platform
    • ControlUp for Apps
    • ControlUp for Compliance
    • ControlUp for Desktops
    • ControlUp Scripts & Triggers
    • ControlUp Synthetic Monitoring
    • ControlUp for VDI
  • Topics
  • Events
    • Logos & Wallpaper
    • ControlUp.com
  • Join

How to fix messed up one of the data indexes, now opens to grey screen with no records

Posted on March 30, 2023

To solve the issue of a grey screen when trying to access a custom data index, it is suggested to delete the whole index and build a new Object with all separate items. The object should include `’NIC Name’` and `’ipconfig interfacealias=’` properties, and have to work around `IPv4Address` and `DNSServer` which are arrays. Deleting the index will allow the agent to send data again, and regenerate the index.


Read the entire ‘Fixing a Grey Screen in Custom Data Indexes’ thread below:

I think I accidentally messed up one of the data indexes when I was trying to write data to the sample custom data index. It opens into a grey screen now and doesn’t show any records. How do I clear the data in it?


you need to delete the entire index but let’s first check what is causing it, can you share the json output?


Where do I get that output from? I’m not seeing anywhere that there was any output or looking in the wrong spots.


run the script manually on a machine


the json can only be 1 level deep otherwise you can get this, I ran into it as wellThe device event description?


can you copy/past the script that you used for the custom data? the part where you do the output to screen that json can only be a single level deep


$adapterInfo = Get-NetAdapter | Select Name, InterfaceDescription,DriverVersion, DriverDate, DriverProvider

$ipconfigInfo = Get-NetIPConfiguration | select InterfaceAlias,InterfaceDescription,NetProfile.Name,IPv4Address,DNSServer

$newObject = [PSCustomObject]@{

‘NIC Info’ = $adapterInfo

‘ipconfig Info’ = $ipconfigInfo

}

Write-Output("### SIP DATA BEGINS ###")

Write-Output -InputObject $newObject | ConvertTo-Json

Write-Output("### SIP DATA ENDS ###")


so this is the output from one of my machines


and you can see there is more than 1 levelnic info > name > ethernet0so you need to build the object with all separate itemsthis is how you need to start building the object

$newObject = [PSCustomObject]@{

`’NIC Name’ = $adapterInfo.name`

`’ipconfig interfacealias= $ipconfigInfo.InterfaceAlias`

}that’s only 2 of the various properties though plus you need to do some work around the ip4addresses and dnssservers as they are arrays so you need to concatenate thoseOkay I can probably manage that bit no problem.

For the data index though.


Just deleting the whole index is the way to fix that up?yes and it will be created again the first time an agent sends data

Continue reading and comment on the thread ‘How to fix messed up one of the data indexes, now opens to grey screen with no records’.  Not a member? Join Here!


Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
Topics: ControlUp Agent, ControlUp Solve, Scripts

Ask Us Anything, Connect, Learn, and Grow with the ControlUp Community!

Login to the ControlUp Community to ask us anything, stay up-to-date on what’s new and coming soon and meet other like-minded techies like you.

Not already a member? Join Today!

Primary Sidebar

ControlUp Academy

Enroll in ControlUp Academy for expert-led technical training, equipping you with skills to effectively deploy, manage, and grow your ControlUp investment.

Learn here >

Rotating Images

Hidden Gem from our Community on Slack!

ControlUp Betas - What's Coming Next?
NEW ControlUp Features - Stay Up-to-Date!
ControlUp Scripts - Scripting, Zero to Hero
Latest KB Articles - Be the First to Learn
Did you Know - with Sivan Kroitoru
Practical Perspectives Technical Use Case Training

Video Tutorials Library

Visit our technical how-to videos, offering step-by-step tutorials on advanced features, troubleshooting, and best practices.

Watch here >

ControlUp Blog

Check out the ControlUp blog for expert advice and in-depth analysis.

Read here >

ControlUp Script Library

Visit the ControlUp technical script library, which offers a multitude of pre-built scripts and custom actions for your monitoring and troubleshooting requirements.

See here >

ControlUp Support

Visit the ControlUp support home and to delve deeper into ControlUp solutions.

Browse here >

Download ControlUp RealTime DX

Start with ControlUp for real-time end-user environment insights, swift troubleshooting, and unprecedented performance optimization. Download now.

Download here >

Footer

      

ControlUp Community
Of Techie, By Techie, For Techie!

Terms of Use | Privacy Policy | Security
Dive Deeper, Learn more at ControlUp.com

  • facebook
  • twitter
  • youtube
  • linkedin

© 2023–2025 ControlUp Technologies LTD, All Rights Reserved.

We use cookies to ensure that we give you the best experience on our website. by continuing to use this site you agree to our Cookie policy..