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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...