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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...