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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...