Splunk Search

How do I get the diff.py command to work?

rsimmons
Splunk Employee
Splunk Employee

I moved my Splunk instance to another machine and I'm getting the following error message: 2010-06-15 16:20:24,739 ERROR [4c17e085c52d202e8] parser:103 - Error in 'script': Getinfo probe failed for external search command 'diff'. How do I get this script to execute correctly?

Tags (1)
0 Karma

Lowell
Super Champion

Sounds like you may have a problem after your migration. The diff.py is an internal command in the search app that should work out of the box.

I took a quick look at that script on my 4.1.2 install and diff.py does call splunk.Intersplunk.isGetInfo and commands.conf is set accordly with supports_getinfo = true. So I suspect that you have a out-of-sync install. I'm guessing you will continue to find other components that that may not be working properly anymore.

Have you tried re-installing the latest version overtop of your install. I suspect that would replace these built in components and get them working again. That's just a thought.

You may also want to add to your question the details of your migration process. Specifically, did you move across platforms, did your install path change between systems, and so on.

Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...