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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...