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'
This link is helpful for you. The user getting same error:
my problem is : I have no file mongodb.conf, I don't know what put inside
You can check in default directory's mongodb.conf for reference.
I haven't default directory with a mongodb.conf file . If you have a default mongodb, could you please show me this file.