Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index Templates error with isiswatcher iside #14

Closed
bleuchtang opened this issue Nov 12, 2024 · 2 comments
Closed

Index Templates error with isiswatcher iside #14

bleuchtang opened this issue Nov 12, 2024 · 2 comments

Comments

@bleuchtang
Copy link

I try to setup an ospfwatch aside of an isiwatcher. When I create Index Templates I got this error:

{'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'index template [ospf-watcher-updown-events] has index patterns [watcher-updown-events*] matching patterns from existing templates [isis-watcher-updown-events] with patterns (isis-watcher-updown-events => [watcher-updown-events*]) that have the same priority [0], multiple index templates may not match during index creation, please use a different priority'}], 'type': 'illegal_argument_exception', 'reason': 'index template [ospf-watcher-updown-events] has index patterns [watcher-updown-events*] matching patterns from existing templates [isis-watcher-updown-events] with patterns (isis-watcher-updown-events => [watcher-updown-events*]) that have the same priority [0], multiple index templates may not match during index creation, please use a different priority'}, 'status': 400}
{'error': {'root_cause': [{'type': 'illegal_argument_exception', 'reason': 'index template [ospf-watcher-costs-changes] has index patterns [watcher-costs-changes*] matching patterns from existing templates [isis-watcher-costs-changes] with patterns (isis-watcher-costs-changes => [watcher-costs-changes*]) that have the same priority [0], multiple index templates may not match during index creation, please use a different priority'}], 'type': 'illegal_argument_exception', 'reason': 'index template [ospf-watcher-costs-changes] has index patterns [watcher-costs-changes*] matching patterns from existing templates [isis-watcher-costs-changes] with patterns (isis-watcher-costs-changes => [watcher-costs-changes*]) that have the same priority [0], multiple index templates may not match during index creation, please use a different priority'}, 'status': 400}
``
@Vadims06
Copy link
Owner

Hi Emile,
yeah, great catch. I use the same index name for OSPF and IS-IS events. I changed it to make it unique for OSPF in this commit (link). Please run git pull to fetch my changes and repeat your last step. Let me know if it works.

@bleuchtang
Copy link
Author

It works., Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants