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
  • Blog
  • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Correlation rule interaction

459 views30th January 2025automation scipt Correlation rule Correlation rules
1
Charlie Sampson41 30th January 2025 0 Comments

Working enabling correlation rules via automation script code is there a code call that returns the status of a correlation rule either enabled or disabled?

Charlie Sampson Answered question 30th January 2025

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Pieter Carlu [SLC] [DevOps Advocate]145 Posted 30th January 2025 0 Comments

Hi Charlie,

You can use the GetCorrelationRuleMessage for this:

var msg = new GetCorrelationRuleMessage()
{
RuleName = “Correlation rule”
};
var resp = engine.SendSLNetSingleResponseMessage(msg) as GetCorrelationRuleResponse;
var isEnabled = resp?.Definition.IsEnabled;

Pieter Carlu [SLC] [DevOps Advocate] Answered question 30th January 2025
2
Miguel Obregon [SLC] [DevOps Catalyst]18.57K Posted 30th January 2025 2 Comments

Hi Charlie,

I believe there is a similar question:

How to enable/disable correlation rule from code?

Hope it helps.

Miguel Obregon [SLC] [DevOps Catalyst] Edited comment 30th January 2025
Charlie Sampson commented 30th January 2025

Thank you for the information however I am more after a "rule status" call to find out if enabled or disabled?

Miguel Obregon [SLC] [DevOps Catalyst] commented 30th January 2025

Hi Charlie,
If you have a look at the snippet provided in the answer to the question, you will find the method enableCorrelationRule. This method will retrieve an existing correlation rule. The property IsEnabled will provide you the current status of the correlation rule.
Hope it helps.

0
Charlie Sampson41 Posted 30th January 2025 0 Comments

The information fully answers my question. Thank you to both Miguel and Pieter for the pointers.

Charlie Sampson Answered question 30th January 2025
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