All Apps and Add-ons

Why am I getting the following error when installing the FireEye app in Splunk?: "ERROR SearchOperator:kv - Cannot compile RE errors in Splunk for FireEye app"

nilbak1
Communicator

Getting below errors in Splunk search-heads for FireEye app

 ERROR SearchOperator:kv - Cannot compile RE \"[\w-\.]{1,30})\"\s*(sid=\"(?\d*)")?\s*(stype=\"(?[\w-]{1,30})\")?\" for transform 'EXTRACT-malware-info_for_fireeye': Regex: invalid range in character class.

The fireeye app version installed is 3.1.1 on splunk 7.0.3
Not sure, why I'm getting such an error when installing FireEye app in Splunk . Please help.

Tags (2)
0 Karma
1 Solution

nilbak1
Communicator

config modified as below and and errors got vanished

EXTRACT-malware-info_for_fireeye =<malware\sname=\"(?<malware_name>[\w-]{1,30})\"\s*(sid=\"(?<malware_sid>\d*)")?\s*(stype=\"(?<malware_stype>[\w-]{1,30})\")?  

View solution in original post

nilbak1
Communicator

config modified as below and and errors got vanished

EXTRACT-malware-info_for_fireeye =<malware\sname=\"(?<malware_name>[\w-]{1,30})\"\s*(sid=\"(?<malware_sid>\d*)")?\s*(stype=\"(?<malware_stype>[\w-]{1,30})\")?  

harsmarvania57
SplunkTrust
SplunkTrust

Hi,

If you are running Fireeye 3.1.1 then fe_xml_syslog config should be like this in Fireeye app props.conf

EXTRACT-malware-info_for_fireeye = <malware\sname=\"(?<malware_name>[\w-\.]{1,30})\"\s*(sid=\"(?<malware_sid>\d*)")?\s*(stype=\"(?<malware_stype>[\w-]{1,30})\")?

However error which you have provided is not extracting capturing group into any field so your regex is invalid.

0 Karma

nilbak1
Communicator

yes, in fireeye app props.conf we have same fe_xml_syslog config , it was not modified

    EXTRACT-malware-info_for_fireeye = <malware\sname=\"(?<malware_name>[\w-\.]{1,30})\"\s*(sid=\"(?<malware_sid>\d*)")?\s*(stype=\"(?<malware_stype>[\w-]{1,30})\")?
0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...