Kibana

From Freephile Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

To use Kibana with MediaWiki CirrusSearch, you need to configure your MediaWiki installation to send search data to an Elasticsearch cluster (which is what CirrusSearch uses), and then access that data through Kibana by setting up a connection to the Elasticsearch instance, allowing you to visualize and analyze your MediaWiki search queries and results within Kibana's interface.

Key steps involved[edit | edit source]

  • Install CirrusSearch extension on MediaWiki:
    • Download and install the CirrusSearch extension on your MediaWiki instance.
    • Configure the extension to point to your Elasticsearch cluster details (host, port, index name) in your MediaWiki LocalSettings.php file.
  • Set up Elasticsearch cluster:
    • Install and configure an Elasticsearch cluster on your server.
    • Ensure compatibility between your MediaWiki version and the Elasticsearch version you choose.
  • Configure Kibana access:
    • Access your Kibana interface by navigating to the Kibana URL (usually on the same server as Elasticsearch).
    • In Kibana settings, add a connection to your Elasticsearch cluster.
  • Index data in Elasticsearch:
    • Once CirrusSearch is active on your MediaWiki, your search queries will automatically be indexed in Elasticsearch.
  • Create visualizations in Kibana:
    • Use Kibana's data exploration tools to create dashboards and visualizations based on your MediaWiki search data, including:
      • Top search queries
      • Search query trends over time
      • Distribution of search results across different categories
      • Analysis of search terms used by specific user groups

Or just use Meza[edit | edit source]

Our Meza now has Kibana!

Important Considerations[edit | edit source]

Data mapping[edit | edit source]

Ensure that the data indexed by CirrusSearch is properly mapped to Elasticsearch fields for optimal analysis in Kibana.

Security[edit | edit source]

Implement appropriate security measures on your Elasticsearch cluster to restrict access to sensitive data.

Performance optimization[edit | edit source]

Monitor the performance of your Elasticsearch cluster to handle the volume of search data generated by MediaWiki.