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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...