Comments (7)
You're going to have to be a bit more specific here. I never used the CSV export so I have no idea what data it exported and how that was structured.
from puppetboard.
the idea was to merely get the resultset in a csv export format.
f.ex. a fact search on physicalprocessorcount - which shows a list of nodenames and a number, would simply have a ilnk to "csv export", which would return a list with:
name, physicalprocessorcount
node1.example.net,2
node2.example.net,1
from puppetboard.
Hi,
i'm maybe little late, but here a simple way to do it:
#!/usr/bin/python
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
from pypuppetdb import connect
db = connect()
facts = db.facts()
for fact in facts:
print fact.node + ';', fact.name + ';', fact.value
And you can parse it to create your final csv file.
regards
from puppetboard.
Are there any plans to add this as a feature? I too could use it in my organisation.
from puppetboard.
@KlavsKlavsen Did you find a usable workaround that we can add as pull request, or should we work on it?
from puppetboard.
@larsnaesbye I'm sorry I really have forgotten how I resolved this.. I think I just wrote some python - using pypuppetdb plugin - which can easily get a list hosts who has a certain fact and the facts contents. Thats what I'd do today anyways :)
from puppetboard.
@KlavsKlavsen : okay, that sounds reasonable. I just think it would be better if we implemented a simple button/link that dumped the table to CSV or similar.
from puppetboard.
Related Issues (20)
- memcached enabled and 'Error: no memcache module found'
- Localize timezones on dailyReportsChart
- Regular expressions in the node tab
- Add OpenShift Template to build Puppetboard
- Missing entries in the nodes tab HOT 2
- Plan for Puppetboard v5 HOT 4
- Puppetboard 4.3.0 very slow with Chrome Dark Reader extension HOT 1
- Unable to setup puppetboard on ubuntu HOT 1
- Inventory tab feature legacy facts HOT 2
- puppetboard fails to start with scheduler enabled
- [BUG] applied changes during puppet run show empty on puppetboard if containing xml HOT 1
- puppetboard fails to start because module 'flask.json' has no attribute 'JSONEncoder'
- Setting GRAPH_FACTS causes a 500 error
- Intermittent errors after PuppetDB 8.0 to 8.1 upgrade HOT 13
- better support structured facts HOT 2
- Facts only showing RedHat HOT 1
- Pattern for python_version do not allow 3.11 HOT 3
- Make it More Apparent that SECRET_KEY cannot be blank HOT 3
- Allow puppetboard to start without a running puppetdb
- Offline mode tries to load external resources HOT 4
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 puppetboard.