All Apps and Add-ons

Error training model (AI Toolkit) - logexperiment

Robi2
New Member

Hi, trying out the AI Toolkit App I built some experiments and scheduled training but the training jobs all fail with  "Error in 'logexperiment' command: (JSONDecodeError) Expecting value: line 1 column 1 (char 0) "

The Search looks like this, created from the Experiment
some search | fit somefunction and parameters into "_exp_some-random-id" | logexperiment id=same-random-id


Has the training already occured despite the error? What could be the problem with logexperiment? I wasn't able to find any description of the command.


Labels (1)
0 Karma

tscroggins
Champion

HI @Robi2,

The exception may have been thrown after the logexperiment command failed to post data to the https://localhost:8089/servicesNS/admin/search/mltk/experiments/<id>/history endpoint.

A stack trace should have been written to the job search.log by the ChunkedExternProcessor logger. Do you see more information in the job log?

0 Karma
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!

Think Like an Architect: Introducing the Splunk Certified Cybersecurity Defense ...

In cybersecurity, defenders respond to threats. Architects design the systems that stop them.    As ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

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 ...