Hello, I am configuring Jenkins to use the Splunk plugin. https://wiki.jenkins.io/display/JENKINS/Splunk+plugin+for+Jenkins. I have the connection and logs being sent and now I want to restrict which jobs send logs to splunk. There is a configuration setting to specify which jobs to not send logs from. I want to send logs only from some specific QA jobs. I can't figure out how to set the regex to say 'don't send from any jobs except the jobs with "ProdQA" in them'. Can anyone help?
Here is the help in the Jenkins plugin configuration Check Regular Expression to select which jobs will be ignored for monitoring. Job names matches the pattern will be ignored, for example: (?:backgroundJobName|adhocJobName|tempJobName) will match backgroundJobName, backgroundJobNameBlah, blahbackgroundJobName ^(?:backgroundJobName|adhocJobName|tempJobName)$ will match backgroundJobName but neither backgroundJobNameBlah nor blahbackgroundJobName (?:X) X, as a non-capturing group ^ The beginning of a line $ The end of a line X|Y Either X or Y \w A word character: [a-zA-Z_0-9] Thanks! Cheryl -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8ca45fff-a559-44c0-a3a3-b6d75fbfa230%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.