Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save holisticinfosec/5ac699647ab91fe568f7c62fcbfc615d to your computer and use it in GitHub Desktop.
Save holisticinfosec/5ac699647ab91fe568f7c62fcbfc615d to your computer and use it in GitHub Desktop.
SERVER-549521 Anomalies Twitter + GESD Methods
# Created from Anomalize project, Matt Dancho
# https://github.com/business-science/anomalize
# Get only SERVER549521 access
SERVER549521 <- security_access_logs %>%
filter(server == "SERVER-549521") %>%
ungroup()
# Anomalize!!
SERVER549521 %>%
# Twitter + GESD
time_decompose(count, method = "twitter", trend = "4 months") %>%
anomalize(remainder, method = "gesd") %>%
time_recompose() %>%
# Anomaly Visualziation
plot_anomalies(time_recomposed = TRUE) +
labs(title = "SERVER-549521 Anomalies", subtitle = "Twitter + GESD Methods")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment