• 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

ControlUp EdgeDX: Custom Fields and Populating Meta_Strings

Posted on August 12, 2024

In this Slack discussion from ControlUp, a user asked about the availability of custom fields in EdgeDX. Another user mentioned the meta_string_1 through 3 fields which can be populated by running scripts on the endpoint. A sample script was shared by a member and it was suggested to use JSON format when writing to these fields. The discussion also includes a link to the ControlUp support page for scripting and creating custom indexes.


Read the entire ‘ControlUp EdgeDX: Custom Fields and Populating Meta_Strings’ thread below:

one more thing, sorry these are all different questions: any custom fields available to write to in EdgeDX?

maybe related to above, but I see meta_string_1 through 3 that look blank today. can I write to this with the API?

meta_string_1string

A generic field allowing for bespoke customer-specific device information.

meta_string_2string

A generic field allowing for bespoke customer-specific device information.

meta_string_3string

A generic field allowing for bespoke customer-specific device information.

going to try this today


you can create custom indexes not custom metrics that show n the machine see https://support.controlup.com/docs/scripting-guide


Those 3 fields are special. There are scripts you can run on the endpoint that will populate those fields. I’ll see if I can dig a sample up but @member would surely have them.



The important part here is $department. I’ll simplify it. Replace YourContentGoesHere with whatever you want to go into the field. Line 8.

$token = Get-Content ‘C:\ProgramData\Avacee\sip_agent\cachefiles\DeviceAccessToken.txt’

$tokenHeader = $token.Substring(4)

$tenantfromRegistry = Get-ItemPropertyValue -Path HKLM:\SOFTWARE\Avacee\SIP -Name tenant

$tenantname = "$tenantfromRegistry"

[hashtable]$headers = @{}

$headers.Add(‘x-access-token’, $token)

$body = @{}

$body.Add(‘meta_string_1’, "YourContentGoesHere")

Fails if not converted to JSON first

$jsnBody = $body | ConvertTo-Json -Depth 100

$uri = "https://$tenantname/api/device/update"

Invoke-RestMethod -Uri $Uri -Method POST -Headers $headers -Body $jsnBody -ContentType ‘application/json’


😄

yeah I just copy/pasted an existing use case


Know that one well, lol


thank you guys!

Continue reading and comment on the thread ‘ControlUp EdgeDX: Custom Fields and Populating Meta_Strings’.  Not a member? Join Here!


Categories: All Archives, ControlUp for Desktops, ControlUp Scripts & Triggers
Topics: ControlUp Agent, Physical Desktops, 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..