Skip to content

Instantly share code, notes, and snippets.

@joemiller
Created April 13, 2016 18:09
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 joemiller/e573baa1b19aca942a0045727638618c to your computer and use it in GitHub Desktop.
Save joemiller/e573baa1b19aca942a0045727638618c to your computer and use it in GitHub Desktop.
## maybe just drop these altogether?
if "audit" in [tags] and [LONG_TERM_STORAGE] != "1" {
drop { }
}
## drop solr logs (this doesn't catch all solr logs but should get most)
if [unit] == "tomcat.service" {
if [message] =~ /org.apache.solr.core.SolrCore/ { drop { } }
if [message] =~ /webapp=[\/]+solr/ { drop { } }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment