This is a plugin for Kibana 7+. Has been developed and tested on Kibana 7.3.0/7.6.2 version. The plugin uses flag-icon-css
Older version:
Installation steps:
$ git clone -b v7.6.2 https://github.com/elastic/kibana
$ cd kibana
$ git clone https://github.com/nabilbendafi/country-flag-fieldformatters.git plugins/country-flag-fieldformatters
$ cd plugins/country-flag-fieldformatters
$ yarn kbn bootstrap
$ yarn build
This will provide a build/country-flag-fieldformatters-X.X.X.zip
ready to be installed
or install released plugin from Github.
$ bin/kibana-plugin install https://github.com/nabilbendafi/country-flag-fieldformatters/releases/download/v1.4.0/country-flag-fieldformatters-1.4.0.zip
Unistall:
$ bin/kibana-plugin remove country-flag-fieldformatters
Under Management > Index Patterns:
- update Format type to Country Flag for any <geoip_field>.country_code2
Anyone is welcome to contribute to my project. There are various ways you can contribute:
- Open an Issue on GitHub
- Send me a Pull Request with your bug fixes and/or new features
- Contact via email: [email protected]