Search code examples
mongodbkaa

How to set up log appender - kaa project


I'm trying "Your-first-Kaa-application", but i have a stuck at "Set up log appender" step.

http://kaaproject.github.io/kaa/docs/v0.10.0/Programming-guide/Key-platform-features/Data-collection/MongoDB-log-appender/

Flow the example at the link above, they set mongoServers with "host" and "port" like below text:

"mongoServers":[
    {
        "host":"127.0.0.1",
        "port":27017
    }

But I don't understand host and port mean, and in my situation (My own network, my own computer, my own kaa sandbox server ...)

How to find my system's hostand port.

Please help me!

Thanks!!


Solution

  • The MongoDB log appender is responsible for transferring logs from the Operations service to the MongoDB database.

    So that means you should install MongoDB and run it.And then add your MongoDB server host and port to the configuration.