Dashboards & Visualizations

No data in app, Python exception: KeyError: 'server'

halr9000
Motivator

None of the app dashboards are populating. When searching "index=_internal Collect.py", I see the following error:

Traceback (most recent call last):
  File "C:\Program Files\Splunk\etc\apps\Splunk_TA_CiscoUCS\bin\Collect.py", line 53, in <module>
  managers = [m for m in DictReader(f) if fnmatch(m['server'], args.manager)]
KeyError: 'server'

Splunk version Splunk 6.0 (build 182037)

Platform Windows x64

Physical Memory (GB) 8.0

Number of CPU cores 8

$SPLUNK_HOME C:\Program Files\Splunk

(Asking this on behalf of a customer.)

0 Karma

halr9000
Motivator

The scripts throws when trying to parse managers.csv. This isn't a file not found/can't read error, so it's not permissions or filename type of issue, it's the content of the file. Perhaps the header is missing or altered? The sample included with the app looks like this:

server,realm
server1,production
server2,development
0 Karma

halr9000
Motivator

It's already parsed credentials by this point, so that file (credentials.csv) is ok

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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