I'm a very beginning Splunk user. My main job is on the phones/email in the call center, but I'm also involved with all the printer maintenance on project. Got into Splunk in an effort to build some reports on printer usage, and later on reporting frequent printer errors in an effort to find problem printers early. We've had it running for awhile, but I'm really the first person here to start messing with it.
Anyway, I've managed fairly easily to get a search/report on pages printed.
host="printserver" source="WinEventLog:System" Pages="*" | timechart sum(Pages)
From the print server, narrow it down to System events, and only ones that have a page count field, then graph it out. Gonna work great for looking at our monthly print quantities.
What I'd like to do is figure out the individual printers that have printed the most pages. Then select whatever timeframe I'm looking at.
I can easily get the top printers with the following, but it only gives me the ones with the most print jobs, not most pages.
host="printserver" source="WinEventLog:System" Pages="*" | top printer limit=30
I'm trying to figure out how to combine the two, but just not getting anywhere. Either its something simple that I'm overlooking or don't know about, or its going to be something a little odd.
Any ideas?