All Apps and Add-ons

Filter console outputs from Jenkins loggers

dsmc_adv
Path Finder

My splunk instance is indexing lots of console errors performed by a job that I cannot determine. I discarded a time ago the .log files that are in the workspace but now I have 1gb of data indexed by day:

index =jenkins_console
source = logger://org.biouno.unochoice.AbstractUnoChoiceParameter
log_thrown: java.lang.RuntimeException: Failed to evaluate script: No such property: url for class: Script1

How do I determine where is coming from, and then how I fix it or discard these messages ?

Tags (1)
0 Karma

txiao_splunk
Splunk Employee
Splunk Employee

Are you using active-choices-plugin ( https://wiki.jenkins.io/display/JENKINS/Active+Choices+Plugin) ? It seems there is a groovy script error in the active choice plugin config

No such property: url for class Script1

I think once you fix the script, the error will gone

0 Karma

amiftah
Communicator

@dsmc_adv,

You can add nullqueue to eliminate some events from indexing:
In props.conf, you add:

[source::/var/log/messages]
TRANSFORMS-null= setnull

And in transforms.conf:

[setnull]
REGEX = \[things you want to discard\]
DEST_KEY = queue
FORMAT = nullQueue
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...