We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a1017 commit b917d96Copy full SHA for b917d96
detection_rules/beats.py
@@ -292,7 +292,7 @@ def parse_beats_from_index(index: Optional[list]) -> List[str]:
292
# e.g. mycluster:logs-* -> logs-*
293
for index in indexes:
294
if "beat-*" in index:
295
- index_parts = index.replace('::', ':').split(':', 1)
+ index_parts = index.replace('::', ':').split(':', 1)
296
last_part = index_parts[-1]
297
beat_type = last_part.split("-")[0]
298
beat_types.append(beat_type)
0 commit comments