Kibana

Revision as of 22:13, 17 December 2024 by Admin (talk | contribs) (formatting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  • 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

Our Meza now has Kibana!

Important Considerations

Data mapping

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

Security

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

Performance optimization

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