All Apps and Add-ons

content-length error

gvhees
Explorer

Hi,
How long can a url be?

I get the following error:
command="importutil", 'content-length' Usage : importutil [config=] [format=]

My url is 79 characters.

Or is it the response? It is a multiline XML document that is returned.

Tags (2)

stanwin
Contributor

I am seeing similar error

command="importutil", 'content-length' Usage : importutil [config=] [format=] Example : importutil http http://research.stlouisfed.org/fred2/data/PAYEMS.txt

In http.py i can see that program tries to find length of message.
#Determine the content length.
contentlen = message.headers['Content-Length']

BUt no clue if this is URL or returned file..

0 Karma

tcoq
Path Finder

I run into the same error with the given example:

importutil http http://research.stlouisfed.org/fred2/data/PAYEMS.txt

0 Karma

jeffbolar
Engager

Having the same issue. Would love to hear about a solution.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...