All,
Graylog’s dashboards metadata in MongoDb is not showing on my instance. The Graylog server has been upgraded since version 1.3 never had any real issues. Today I was in the process of querying some metadata in mongo and came across empties Documents.
First, here is a screen shot of my dashboards on the Web UI (some not all).
Next, let’s log into Mongo shell.
[root@graylog mongo]# mongo --port 27017 -u username -p 'some_password'
MongoDB shell version v4.4.15
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Implicit session: session { "id" : UUID("57bec8d4-6685-4f80-b775-200341ee6d41") }
MongoDB server version: 4.4.15
---
The server generated these startup warnings when booting:
2022-07-29T20:24:14.175-05:00: You are running on a NUMA machine. We suggest launching mongod like this to avoid performance problems: numactl --interleave=all mongod [other options]
---
mongo > show databases;
admin 0.000GB
config 0.000GB
graylog 0.034GB
local 0.000GB
test 0.000GB
mongo > use graylog
switched to db graylog
Now I will list the collections, Looking for dashboards.
mongo > show collections
access_tokens
alarmcallbackconfigurations
alarmcallbackhistory
alerts
archive_backends
archive_catalog
audit_log
auth_service_backends
cluster_config
cluster_events
collector_configurations
collectors
content_packs
content_packs_installations
dashboards
decorators
event_definitions
event_notification_status
event_notifications
event_processor_state
export_jobs
forwarder_input_profiles
forwarder_input_states
forwarders
grants
graylog
grok_patterns
index_failures
index_field_types
index_ranges
index_sets
inputs
ldap_settings
licenses
lut_caches
lut_data_adapters
lut_mongodb_data_adapter
lut_tables
nodes
notifications
opensearch_anomaly_detectors
outputs
pipeline_processor_pipelines
pipeline_processor_pipelines_streams
pipeline_processor_rules
processing_status
roles
saved_searches
scheduler_job_definitions
scheduler_triggers
searches
security_views
sessions
sidecar_collector_actions
sidecar_collectors
sidecar_configuration_variables
sidecar_configurations
sidecars
streamrules
streams
system.profile
system_messages
team_sync_backend_configs
teams
traffic
users
view_sharings
views
>
Now lets see all the dashboard metadata in Mongo
As you can see from the screenshot there is none,
Not sure what’s going on.
What I have tried was restarting MongoDb, Graylog service hoping this would populate the metadata, No Joy.
Executed the following command, No Joy.
sudo mongod --repair --dbpath /var/lib/mongo
Even rebooted the server, No Joy
Here is the log file for MongoDb after restarting service.
MongoDb_Logs
{"t":{"$date":"2022-07-29T21:10:02.668-05:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2022-07-29T21:10:02.680-05:00"},"s":"W", "c":"ASIO", "id":22601, "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2022-07-29T21:10:02.681-05:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2022-07-29T21:10:02.682-05:00"},"s":"I", "c":"STORAGE", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":92877,"port":27017,"dbPath":"/var/lib/mongo","architecture":"64-bit","host":"graylog.enseva-labs.net"}}
{"t":{"$date":"2022-07-29T21:10:02.683-05:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.15","gitVersion":"bc17cf2c788c5dda2801a090ea79da5ff7d5fac9","openSSLVersion":"OpenSSL 1.0.1e-fips 11 Feb 2013","modules":[],"allocator":"tcmalloc","environment":{"distmod":"rhel70","distarch":"x86_64","target_arch":"x86_64"}}}}
{"t":{"$date":"2022-07-29T21:10:02.683-05:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"CentOS Linux release 7.9.2009 (Core)","version":"Kernel 3.10.0-1160.71.1.el7.x86_64"}}}
{"t":{"$date":"2022-07-29T21:10:02.683-05:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"config":"/etc/mongod.conf","net":{"bindIp":"127.0.0.1","port":27017},"operationProfiling":{"mode":"all","slowOpThresholdMs":5},"processManagement":{"fork":true,"pidFilePath":"/var/run/mongodb/mongod.pid"},"security":{"authorization":"enabled"},"storage":{"dbPath":"/var/lib/mongo","journal":{"enabled":true}},"systemLog":{"destination":"file","logAppend":true,"path":"/var/log/mongodb/mongod.log"}}}}
{"t":{"$date":"2022-07-29T21:10:02.686-05:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/var/lib/mongo","storageEngine":"wiredTiger"}}
{"t":{"$date":"2022-07-29T21:10:02.686-05:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=5263M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}
{"t":{"$date":"2022-07-29T21:10:03.675-05:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1659147003:675785][92877:0x7fcc548b8bc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5723 through 5724"}}
{"t":{"$date":"2022-07-29T21:10:03.696-05:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1659147003:696519][92877:0x7fcc548b8bc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5724 through 5724"}}
{"t":{"$date":"2022-07-29T21:10:03.889-05:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1659147003:889576][92877:0x7fcc548b8bc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 5723/91741184 to 5724/256"}}
{"t":{"$date":"2022-07-29T21:10:03.986-05:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1659147003:986868][92877:0x7fcc548b8bc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5723 through 5724"}}
{"t":{"$date":"2022-07-29T21:10:04.004-05:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1659147004:4645][92877:0x7fcc548b8bc0], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 5724 through 5724"}}
{"t":{"$date":"2022-07-29T21:10:04.096-05:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1659147004:96780][92877:0x7fcc548b8bc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}}
{"t":{"$date":"2022-07-29T21:10:04.096-05:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1659147004:96904][92877:0x7fcc548b8bc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}}
{"t":{"$date":"2022-07-29T21:10:04.124-05:00"},"s":"I", "c":"STORAGE", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1659147004:124074][92877:0x7fcc548b8bc0], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 20820946"}}
{"t":{"$date":"2022-07-29T21:10:04.266-05:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":1580}}
{"t":{"$date":"2022-07-29T21:10:04.267-05:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
{"t":{"$date":"2022-07-29T21:10:04.270-05:00"},"s":"I", "c":"STORAGE", "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}}
{"t":{"$date":"2022-07-29T21:10:04.279-05:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"}
{"t":{"$date":"2022-07-29T21:10:04.332-05:00"},"s":"W", "c":"CONTROL", "id":22167, "ctx":"initandlisten","msg":"You are running on a NUMA machine. We suggest launching mongod like this to avoid performance problems: numactl --interleave=all mongod [other options]","tags":["startupWarnings"]}
{"t":{"$date":"2022-07-29T21:10:04.375-05:00"},"s":"I", "c":"STORAGE", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
{"t":{"$date":"2022-07-29T21:10:04.387-05:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/var/lib/mongo/diagnostic.data"}}
{"t":{"$date":"2022-07-29T21:10:04.388-05:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
{"t":{"$date":"2022-07-29T21:10:04.392-05:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
{"t":{"$date":"2022-07-29T21:10:04.392-05:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"127.0.0.1"}}
{"t":{"$date":"2022-07-29T21:10:04.392-05:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
{"t":{"$date":"2022-07-29T21:10:04.643-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50146","connectionId":1,"connectionCount":1}}
{"t":{"$date":"2022-07-29T21:10:04.647-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn1","msg":"client metadata","attr":{"remote":"127.0.0.1:50146","client":"conn1","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.654-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50148","connectionId":2,"connectionCount":2}}
{"t":{"$date":"2022-07-29T21:10:04.654-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50150","connectionId":3,"connectionCount":3}}
{"t":{"$date":"2022-07-29T21:10:04.655-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"127.0.0.1:50148","client":"conn2","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.655-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50152","connectionId":4,"connectionCount":4}}
{"t":{"$date":"2022-07-29T21:10:04.655-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"127.0.0.1:50150","client":"conn3","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.655-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50154","connectionId":5,"connectionCount":5}}
{"t":{"$date":"2022-07-29T21:10:04.656-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50156","connectionId":6,"connectionCount":6}}
{"t":{"$date":"2022-07-29T21:10:04.656-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:50152","client":"conn4","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.656-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50158","connectionId":7,"connectionCount":7}}
{"t":{"$date":"2022-07-29T21:10:04.656-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn4","msg":"client metadata","attr":{"remote":"127.0.0.1:50152","client":"conn4","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.656-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50158","connectionId":7,"connectionCount":7}}
{"t":{"$date":"2022-07-29T21:10:04.656-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn6","msg":"client metadata","attr":{"remote":"127.0.0.1:50156","client":"conn6","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.657-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"127.0.0.1:50154","client":"conn5","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.657-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50160","connectionId":8,"connectionCount":8}}
{"t":{"$date":"2022-07-29T21:10:04.657-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn7","msg":"client metadata","attr":{"remote":"127.0.0.1:50158","client":"conn7","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.657-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn8","msg":"client metadata","attr":{"remote":"127.0.0.1:50160","client":"conn8","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.665-05:00"},"s":"I", "c":"NETWORK", "id":22943, "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:50162","connectionId":9,"connectionCount":9}}
{"t":{"$date":"2022-07-29T21:10:04.666-05:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn9","msg":"client metadata","attr":{"remote":"127.0.0.1:50162","client":"conn9","doc":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"}}}
{"t":{"$date":"2022-07-29T21:10:04.667-05:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"conn8","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"client":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"},"saslSupportedMechs":"graylog.mongo_admin","$db":"admin"},"numYields":0,"reslen":384,"locks":{},"protocol":"op_query","durationMillis":9}}
{"t":{"$date":"2022-07-29T21:10:04.667-05:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"conn3","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"client":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"},"saslSupportedMechs":"graylog.mongo_admin","$db":"admin"},"numYields":0,"reslen":384,"locks":{},"protocol":"op_query","durationMillis":12}}
{"t":{"$date":"2022-07-29T21:10:04.667-05:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"conn2","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"client":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"},"saslSupportedMechs":"graylog.mongo_admin","$db":"admin"},"numYields":0,"reslen":384,"locks":{},"protocol":"op_query","durationMillis":12}}
{"t":{"$date":"2022-07-29T21:10:04.667-05:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"conn7","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"client":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"},"saslSupportedMechs":"graylog.mongo_admin","$db":"admin"},"numYields":0,"reslen":384,"locks":{},"protocol":"op_query","durationMillis":10}}
{"t":{"$date":"2022-07-29T21:10:04.668-05:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"conn4","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"client":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"},"saslSupportedMechs":"graylog.mongo_admin","$db":"admin"},"numYields":0,"reslen":384,"locks":{},"protocol":"op_query","durationMillis":11}}
{"t":{"$date":"2022-07-29T21:10:04.668-05:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"conn5","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"client":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"},"saslSupportedMechs":"graylog.mongo_admin","$db":"admin"},"numYields":0,"reslen":384,"locks":{},"protocol":"op_query","durationMillis":11}}
{"t":{"$date":"2022-07-29T21:10:04.667-05:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"conn6","msg":"Slow query","attr":{"type":"command","ns":"admin.$cmd","command":{"ismaster":1,"client":{"driver":{"name":"mongo-java-driver|legacy","version":"3.12.1"},"os":{"type":"Linux","name":"Linux","architecture":"amd64","version":"3.10.0-1160.71.1.el7.x86_64"},"platform":"Java/Red Hat, Inc./1.8.0_332-b09"},"saslSupportedMechs":"graylog.mongo_admin","$db":"admin"},"numYields":0,"reslen":384,"locks":{},"protocol":"op_query","durationMillis":10}}
{"t":{"$date":"2022-07-29T21:10:04.670-05:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn5","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":false,"principalName":"mongo_admin","authenticationDatabase":"graylog","remote":"127.0.0.1:50154","extraInfo":{}}}
{"t":{"$date":"2022-07-29T21:10:04.670-05:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn6","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":false,"principalName":"mongo_admin","authenticationDatabase":"graylog","remote":"127.0.0.1:50156","extraInfo":{}}}
{"t":{"$date":"2022-07-29T21:10:04.671-05:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn3","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":false,"principalName":"mongo_admin","authenticationDatabase":"graylog","remote":"127.0.0.1:50150","extraInfo":{}}}
{"t":{"$date":"2022-07-29T21:10:04.671-05:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn9","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":false,"principalName":"mongo_admin","authenticationDatabase":"graylog","remote":"127.0.0.1:50162","extraInfo":{}}}
{"t":{"$date":"2022-07-29T21:10:04.671-05:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn8","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":false,"principalName":"mongo_admin","authenticationDatabase":"graylog","remote":"127.0.0.1:50160","extraInfo":{}}}
{"t":{"$date":"2022-07-29T21:10:04.671-05:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn7","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":false,"principalName":"mongo_admin","authenticationDatabase":"graylog","remote":"127.0.0.1:50158","extraInfo":{}}}
{"t":{"$date":"2022-07-29T21:10:04.671-05:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn2","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":false,"principalName":"mongo_admin","authenticationDatabase":"graylog","remote":"127.0.0.1:50148","extraInfo":{}}}
{"t":{"$date":"2022-07-29T21:10:04.671-05:00"},"s":"I", "c":"ACCESS", "id":20250, "ctx":"conn4","msg":"Authentication succeeded","attr":{"mechanism":"SCRAM-SHA-256","speculative":false,"principalName":"mongo_admin","authenticationDatabase":"graylog","remote":"127.0.0.1:50152","extraInfo":{}}}
{"t":{"$date":"2022-07-29T21:10:04.681-05:00"},"s":"I", "c":"COMMAND", "id":51803, "ctx":"conn7","msg":"Slow query","attr":{"type":"command","ns":"graylog.roles","command":{"find":"roles","$db":"graylog"},"planSummary":"COLLSCAN","keysExamined":0,"docsExamined":22,"cursorExhausted":true,"numYields":0,"nreturned":22,"reslen":7395,"locks":{"FeatureCompatibilityVersion":{"acquireCount":{"r":1}},"ReplicationStateTransition":{"acquireCount":{"w":1}},"Global":{"acquireCount":{"r":1}},"Database":{"acquireCount":{"r":1}},"Collection":{"acquireCount":{"r":1}},"Mutex":{"acquireCount":{"r":1}}},"storage":{"data":{"bytesRead":7417,"timeReadingMicros":79},"timeWaitingMicros":{"schemaLock":6203}},"protocol":"op_msg","durationMillis":9}}
@
For testing, I created a new dashboard, No Joy. Unable to find Metadata in MongoDb about dashboards.
Am I just going crazy but how does this functions without any saved settings in Mongo, OR is Graylog saving these settings some other place that I do not know about.
- Graylog Server 4.3.3 12 cores, 12 GB RAM, 500GB HDD
- Elasticsearch 7.10
- MongoDb 4.4.15
- CentOS 7 (latest)