peasead / elastic-container

Stand up a simple Elastic container with Kibana, Fleet, and the Detection Engine
Apache License 2.0
395 stars 71 forks source link

[New Feature] Add data index clearing capability #10

Closed DefSecSentinel closed 2 years ago

DefSecSentinel commented 2 years ago

This PR adds the ability for a user to clear or wipe the default data streams (logs & metrics) via the elastic-container.sh cli using the new "clear" option. This option comes in handy when you want your stack to remain persistent but want to start fresh, in terms of data, at a particular time.

peasead commented 2 years ago

Resolves #11