All Apps and Add-ons

Why am I encountering the "MissingSectionHeaderError" in the Splunk app for MongoDB Commands?

isabellechristo
New Member

I am trying to use the Splunk app MongoDB Commands

When I call the command "|mongoshowdb"
I get this error:

MissingSectionHeaderError at "xxxxxxx\Splunk\Python-2.7\Lib\ConfigParser.py", line 512 : File contains no section headers. file: xxxxxxxxx\Splunk\etc\apps\mongodb_commands\bin..\local\mongodb.conf, line: 1 '\xef\xbb\xbf\n'
0 Karma

p_gurav
Champion

Hi isabellechristophe,

This link is helpful for you. The user getting same error:
https://answers.splunk.com/answers/578834/mongodb-commands-app-missingsectionheadererror-whe.html

0 Karma

isabellechristo
New Member

Hello

my problem is : I have no file mongodb.conf, I don't know what put inside

0 Karma

p_gurav
Champion

You can check in default directory's mongodb.conf for reference.

0 Karma

isa128
New Member

I haven't default directory with a mongodb.conf file . If you have a default mongodb, could you please show me this file.

0 Karma
Get Updates on the Splunk Community!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...