Splunk Search

Inability to Write to Lookup FIle

LukeMurphey
Champion

The PCI app is producing errors indicating that the lookup files could not be written. Below is an example of the error:

[SimpleResultsTable module] Server
reported HTTP status=400 while getting
mode=results <?xml version='1.0'
encoding='UTF-8'?>

type='FATAL'>Error in
'outputlookup' command:
Could not write to file
'account_history_tracker.csv'.

How do I fix this issue?

1 Solution

LukeMurphey
Champion

Root Cause:

The issue is due to the fact that the lookup files are not writable. The PCI needs to be able to update the lookup files in order to function.

Solution:

To fix the issue, set the permissions on the lookup files to allow them to be writable by the account that Splunk is running under. The lookup files that need to be adjusted are available under the lookup directory of the following apps:

  • SplunkPCIComplianceSuite ($SPLUNK_HOME/etc/apps/SplunkPCIComplianceSuite/lookups)
  • PCI-Requirement11 ($SPLUNK_HOME/etc/apps/PCI-Requirement11/lookups)

View solution in original post

LukeMurphey
Champion

Root Cause:

The issue is due to the fact that the lookup files are not writable. The PCI needs to be able to update the lookup files in order to function.

Solution:

To fix the issue, set the permissions on the lookup files to allow them to be writable by the account that Splunk is running under. The lookup files that need to be adjusted are available under the lookup directory of the following apps:

  • SplunkPCIComplianceSuite ($SPLUNK_HOME/etc/apps/SplunkPCIComplianceSuite/lookups)
  • PCI-Requirement11 ($SPLUNK_HOME/etc/apps/PCI-Requirement11/lookups)
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...