Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to convert active parameter to text

Solved567 views5th June 2024
1
Jaroslaw Burtny [DevOps Advocate]678 25th March 2024 0 Comments

Hi All.

I have the two IP source address as below on the screen

Can I assign active parameter as source address to text ?.

for example :

source address 10.9.62.68:5500 displayed as “ MAIN  ” in text

source address 10.9.62.84:5500 displayed as “ BACKUP ” in text

Simply, the active parameter “source address” changes to text depending on whether there is one source or the second one

I have a start for displaying the active “source address” parameter and how to change it to display the assigned text in shape data ?

Big thanks for help.

Br.

Jarek

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 5th June 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Toon Casteele [SLC] [DevOps Enabler]7.00K Posted 27th March 2024 1 Comment

Let me first try to rephrase the question and then answer it.

How can I configure DataMiner Cube to show the text ‘MAIN’ when the source address is 10.9.62.68:5500 and ‘BACKUP’ when it is 10.9.62.84:5500 in the shape data?

If that is indeed the question, the answer lies in using regexreplace. That way you can match a regex that contains the right IP address against the label you want to show.

e.g. [regexreplace:.*68.*,[regexreplace:.*84.*,[param:NewTec34,23406,TSoIP1],BACKUP],MAIN]

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 5th June 2024
Jaroslaw Burtny [DevOps Advocate] commented 28th March 2024

Hi Toon.
Where should I set this rule as below in shape data ?
Please see inquiry below
Br.
Jarek

0
Jaroslaw Burtny [DevOps Advocate]678 Posted 28th March 2024 1 Comment

Hi Toon.

Where should I set this rule as below in shape data :

[regexreplace:.*68.*,[regexreplace:.*84.*,[param:NewTec34,23406,TSoIP1],BACKUP],MAIN]

Does in the text instead of an * ?

Big thanks for answer.

Br.

Jarek

Toon Casteele [SLC] [DevOps Enabler] Posted new comment 29th March 2024
Toon Casteele [SLC] [DevOps Enabler] commented 29th March 2024

Indeed. placeholders always get replaced by text, whether in the shape text or shape data. So if you want to see it displayed on the shape, the text is where to place it.

Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs