When importing content pack, that runs into trouble, the import process tries to roll back.
It looks like it ignores or doesn't rollback the Grok patterns,
Everything else (Inputs, Extractors, Streams, Dashboards) are all rolled back.
Steps to reproduce the problem
Export content_pack that includes Inputs, Extractors, Grok Patterns, Streams, Dashboards ...
On a clean Graylog, make sure you are missing an input type (due to plugin missing, Example AWS CloudTrail plugin, which was one of the inputs exported), and try to import the content_pack
You'd get an error that input type was missing, and the process rolls back.
Navigate to check Grok Patterns, and see that those were not rolled back.
Problem description
When importing content pack, that runs into trouble, the import process tries to roll back. It looks like it ignores or doesn't rollback the Grok patterns, Everything else (Inputs, Extractors, Streams, Dashboards) are all rolled back.
Steps to reproduce the problem
Environment