Splunk Search

Error on saved searches after upgrading to 4.2.1

remy06
Contributor

After I've upgraded splunk from 4.1.5 to 4.2.1,some of the saved searches encountered errors now,while some are ok.

Error message:
Error in 'file' command: You have insufficient privileges to perform this operation.

[SimpleResultsTable module] Server reported HTTP status=400 while getting mode=results <?xml version='1.0' encoding='UTF-8'?> <response><messages><msg type='FATAL'>Error in &apos;file&apos; command: You have insufficient privileges to perform this operation.</msg></messages></response>

Tags (2)
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

The file command was deprecated as of 4.1.x, and finally removed in 4.2. You can use inputcsv or inputlookups to replace it in many cases.

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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