clong / DetectionLab

Automate the creation of a lab environment complete with security tooling and logging best practices
MIT License
4.57k stars 978 forks source link

Threathunting app dashboard broke in tarball 1492 #625

Closed redNixon closed 3 years ago

redNixon commented 3 years ago

<         <query>`threathunting_index` 
---
>         <query>index=threathunting 

The dashboard components show all errors referencing this new name some, example:

"Error in 'SearchParser': The search specifies a macro 'threathunting_index' that cannot be found. Reasons include: the macro name is misspelled, you do not have "read" permission for the macro, or the macro has not been shared with this application. Click Settings, Advanced search, Search Macros to view macro information."

The (old?) threathunting index is present in splunk and is getting data sent into it still, changing a few of the page's source back to the original version index pattern made the app seemed to work again.

clong commented 3 years ago

Oops, this is what happens when I blindly assume upgrades are backwards compatible. Will look into this today.

clong commented 3 years ago

Should be fixed here: https://github.com/clong/DetectionLab/commit/7778de6190c462e0846991158561d8a2ea13b6ff