Skip to content

Instantly share code, notes, and snippets.

@raphink
Created February 21, 2014 07:34
Show Gist options
  • Save raphink/9130232 to your computer and use it in GitHub Desktop.
Save raphink/9130232 to your computer and use it in GitHub Desktop.
Which lens are you using?
The official lens for Splunk (in Augeas 1.2.0) maps this file to:
/files/opt/splunk/etc/system/local/server.conf
/files/opt/splunk/etc/system/local/server.conf/target[1] = "queue"
/files/opt/splunk/etc/system/local/server.conf/target[1]/maxSize = "600MB"
/files/opt/splunk/etc/system/local/server.conf/target[2] = "queue=parsingQueue"
/files/opt/splunk/etc/system/local/server.conf/target[2]/maxSize = "6MB"
So you can do:
set /files/opt/splunk/etc/system/local/server.conf/target[.="queue=parsingQueue"]/maxSize 600M
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment