Skip to content

The Fleet server allows managing a fleet of Elastic Agents.

License

Notifications You must be signed in to change notification settings

scunningham/fleet-server

 
 

Repository files navigation

Build Status

Fleet Server implementation

Development

fleet-server is under development. The following are notes to help developers onboarding to the project to quickly get running. These notes might change at any time.

Startup fleet-server

Currently to startup fleet-server, the Kibana encryption key is needed. There are two options for this.

Either the key a... is used in the kibana config as this is the default:

xpack.encryptedSavedObjects.encryptionKey: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"

The alternative is to use ES_SAVED_KEY and pass it to fleet-server during setup with the value of the encryption key used in Kibana.

Kibana

Currently there is some work to do to be able to run Kibana with Fleet Server and all the features are not yet supported, in the future, these workarounds will not be needed anymore.

  • Start fleet-server before Kibana, to create the mappings in ES.
  • Create and use a custom user as the kibana_system user
  • Enable Fleet server usage with xpack.fleet.agents.fleetServerEnabled: true
POST /_security/role/kibana_fleet_system
{
   "cluster" : [
      "all"
    ],
    "indices" : [
      {
        "names" : [
          ".fleet*"
        ],
        "privileges" : [
          "all"
        ]
      }
    ]
}



POST /_security/user/kibana_fleet_system
{
  "password" : "changeme",
  "roles" : [ "kibana_system", "kibana_fleet_system" ]
}

Then configure your Kibana with

elasticsearch.username: 'kibana_fleet_system'
elasticsearch.password: 'changeme'
xpack.fleet.agents.fleetServerEnabled: true

About

The Fleet server allows managing a fleet of Elastic Agents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 94.6%
  • Python 2.2%
  • Makefile 1.8%
  • Shell 1.4%