Comments (3)
Hi!
Could you post here the exact commands you use to run the script, as well as the time range you expect to get data from? Please do mask sensitive information, like your API key.
from automation-scripts.
using the below command
python usagestats.py -k xxxxxxxxxxxx -i usagestats.init report:last-week
usagestats.init file has the following config
[OPTIONS] database=sample.db filter=org:myorg name
from automation-scripts.
With those parameters, the expected behaviour of the script is the following:
- It will only pull information from networks that contain MX security appliances and Z-series teleworker gateways. To override this default behaviour, use the "dtype" filter.
- The "last-week" option runs a report for the last full Monday-Sunday week. It is not the same as running a report for the last 7 days.
With these notes in mind, do you still feel that the script is not working as expected?
from automation-scripts.
Related Issues (20)
- Migrate code to new API HOT 4
- Merakilicensealert.py keeps returning TypeError: list indices must be integers or slices, not str HOT 5
- uplink.py multiple Orgs HOT 5
- "@ ERROR 09: Unable to contact Meraki cloud" for deviceupdownstatus.py HOT 2
- "mxfirewallcontrol.py" does not like "tag" filter HOT 4
- manageadmins.py not adding adminstrators HOT 6
- Rerwite of mxfirewallcontrol.py for Dashboard API v1 HOT 1
- <Tag> all ports with <type> HOT 10
- Rewrite scripts to use API key saved as environment variable HOT 8
- Terraform provider HOT 1
- Two seperate issues for mxfirewallcontrol.py HOT 7
- mxfirewallcontrol.py specify cellularFirewallRules HOT 1
- Single LAN is not available for networks in passthrough mode HOT 5
- Issue with csv writing HOT 4
- backup_configs - Operations CSV Files HOT 1
- migrate_cat3k.py question HOT 7
- AttributeError: 'DashboardAPI' object has no attribute 'mx_l3_firewall' HOT 3
- manageadmins.py stopped working HOT 2
- mx_firewall_control - Unable to update ruleset from input-file or directly HOT 1
- Issue with manage_devices.py and manage_network.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automation-scripts.