All Apps and Add-ons

TA Falcon FileVantage bug in version 2.1.0 - events merged -> proposal of fix

FloSwiip
Path Finder


CrowdStrike Falcon FileVantage Technical Add-On
https://splunkbase.splunk.com/app/7090

When the api return more than one event, the result in splunk is one event with the all jsons merged together making splunk json parsing to fail.

For the python code it is seem to be what was wished with the join here  :

 

 

 

 

~/etc/apps/TA_crowdstrike_falcon_filevantage/bin/TA_crowdstrike_falcon_filevantage_rh_crowdstrike_filevantage_json.py

        try:
            helper.log_info(f"{log_label}: Preparing to send: {len(event_data)} FileVantage events to Splunk index: {data_index}")
 -->           events = '\n'.join(json.dumps(line) for line in event_data)
            filevantage_data = helper.new_event(source=helper.get_input_type(), index=helper.get_output_index(), sourcetype=helper.get_sourcetype(), data=events)
            ew.write_event(filevantage_data)
            helper.log_info(f"{log_label}: Data for {len(event_data)} events from FileVantage successfully pushed to Splunk index: {data_index}")

 

 

 

 

 

So it is important to make a proper splunk props.conf to un-split events with a LINE_BREAKER :

 

 

 

 

 

splunk@ncesplkpoc01:~/etc/apps/TA_crowdstrike_falcon_filevantage$ cat local/props.conf 
[crowdstrike:filevantage:json]
SHOULD_LINEMERGE = false
LINE_BREAKER = \n
NO_BINARY_CHECK = true

 

 

 

 

 

 

Labels (1)
0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...