question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect to logpush/edge enpoint via cli4

See original GitHub issue

Trying to check and configure logpush instant jobs (https://developers.cloudflare.com/logs/instant-logs) and was hoping to use cli4 to do it quickly, but it doesn’t know the logpush/edge endpoint.

It just returns the error /zones/:zoneid/logpush/edge - not found. Confirmed that it does work as expected via curl.

Tested using version 2.10.2

~ ᐅ cli4 -v zones/:$CLOUDFLARE_ZONE_ID/logpush/edge/jobs
cli4: /zones/:$CLOUDFLARE_ZONE_ID/logpush/edge - not found

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
mahtincommented, Nov 3, 2022

Release 2.10.3 is now released (to Github and PyPl). Enjoy!

1reaction
mahtincommented, Nov 2, 2022

The Python Cloudflare libraries are build from the contents of the https://api.cloudflare.com website. Sadly, the /zones/:zoneid/logpush/edge call has not been documented on that page. It’s only on https://developers.cloudflare.com/logs/instant-logs within the developers area. (Yes, there’s more than one place you need to read if you want to work with Cloudflare API’s). I’ll do two things.

  1. I’ll notify Cloudflare.
  2. I’ll code it up from the developers page and report back here if I can push it cleanly to GitHub & PyPI.

More later

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enable Logpush to Splunk · Cloudflare Logs docs
Once connected, Cloudflare lists Splunk as a connected service under Logs > Logpush. Edit or remove connected services from here.
Read more >
Supported AWS CLI Commands - AWS Snowball Edge ...
Use AWS CLI commands to transfer data to the AWS Snowball Edge device. ... as the endpoint for applicable AWS Command Line Interface...
Read more >
CIS CLI reference - IBM Cloud Docs
Find documentation, API & SDK references, tutorials, FAQs, and more resources for IBM Cloud products and services.
Read more >
AWS S3 CLI - Could not connect to the endpoint URL
Once I replaced it with ap-south-1, the command (aws s3 ls) started working. Thanks. – Anurag. Apr 4, 2018 at 5:11. 4.
Read more >
CLI Reference Guide - The Commands - Cisco
Do not use this command if you are not able to reconnect to the CLI using the Serial interface or the default settings...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found