> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apinizer.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Kibana Log Search

> You can search and analyze logs stored in Elasticsearch using Kibana. You can search logs using KQL and Lucene query syntax, use filtering options, set time ranges, and view log data with various visualizations.

## Overview

Kibana is an interface program used to visualize and analyze Elasticsearch data. Kibana communicates with the Elasticsearch cluster to retrieve data.

<Info>
  One of Kibana's core features is the ability to monitor logs recorded in Elasticsearch in real-time. This allows you to track and analyze log data in real-time.
</Info>

## Log Search Features

Various features can be used for log search in Kibana:

<CardGroup cols={2}>
  <Card title="KQL Queries" icon="code">
    You can perform advanced log searches using Kibana Query Language (KQL) queries. KQL is a user-friendly query language and facilitates complex filtering operations.
  </Card>

  <Card title="Lucene Syntax" icon="terminal">
    You can write traditional search queries using Lucene query syntax. Lucene offers more advanced and flexible query capabilities.
  </Card>

  <Card title="Filtering Options" icon="filter">
    You can narrow down logs with multiple filtering options. You can apply field-based, value-based, and time-based filters.
  </Card>

  <Card title="Time Range Selection" icon="clock">
    You can view logs in a specific time period with time range selection. Predefined ranges such as last 15 minutes, last 1 hour, last 24 hours can be used.
  </Card>

  <Card title="Field-Based Search" icon="search">
    You can search by specific fields. For example, you can search for logs containing only error messages, a specific API Proxy, or a username.
  </Card>

  <Card title="Discover Tab" icon="eye">
    You can view logs using the Discover tab. Discover is Kibana's primary log viewing interface.
  </Card>
</CardGroup>

## Visualization Options

Log data can be visualized in various ways with Kibana:

<CardGroup cols={2}>
  <Card title="Timeline Charts" icon="chart-line">
    You can visualize the distribution of logs over time with timeline charts. This is useful for trend analysis and anomaly detection.
  </Card>

  <Card title="Histogram Charts" icon="chart-bar">
    You can view the distribution of log counts with histogram charts. This is useful for understanding log density.
  </Card>

  <Card title="Pie Charts" icon="chart-pie">
    You can visualize log distribution by categories with pie charts. For example, you can show distribution by error types.
  </Card>

  <Card title="Tables" icon="table">
    You can view detailed log information with tables. Tables offer sorting and filtering features.
  </Card>

  <Card title="Heat Maps" icon="fire">
    You can visually represent log density with heat maps. This is useful for detecting busy time periods.
  </Card>

  <Card title="Area Charts" icon="chart-area">
    You can visualize changes over time with area charts. This is ideal for trend analysis.
  </Card>
</CardGroup>

## Kibana Installation

The following steps can be followed for Kibana installation:

### Windows Installation

<Steps>
  <Step title="Download Kibana Version">
    Download the compatible version of Kibana. You need to select a Kibana version compatible with your Elasticsearch version.
  </Step>

  <Step title="Extract File">
    Extract the downloaded file and save it to the target folder.
  </Step>

  <Step title="Edit Configuration File">
    Edit the `kibana.yml` file in the config folder. Configure Elasticsearch connection information and other settings.
  </Step>

  <Step title="Start Kibana">
    Start Kibana with the `bin/kibana.bat` command.
  </Step>
</Steps>

### Linux Installation

<Steps>
  <Step title="Download Kibana Archive">
    Download the Kibana archive. Select a version compatible with your Elasticsearch version.
  </Step>

  <Step title="Extract Archive">
    Extract the downloaded archive and place it in the target directory.
  </Step>

  <Step title="Edit Configuration File">
    Edit the `kibana.yml` file in the config folder. Configure Elasticsearch connection settings.
  </Step>

  <Step title="Start Kibana">
    Start Kibana with the `./bin/kibana` command.
  </Step>
</Steps>

## Related Topics

You can review the following pages for more information:

<CardGroup cols={2}>
  <Card title="Log Locations" icon="map-marker-alt" href="/en/operations/log-analysis-guide/log-locations">
    Learn about log file locations in Apinizer
  </Card>

  <Card title="Log Levels and Filtering" icon="filter" href="/en/operations/log-analysis-guide/log-levels-filtering">
    Learn about log levels and filtering options
  </Card>

  <Card title="Log Pattern Analysis" icon="search" href="/en/operations/log-analysis-guide/log-pattern-analysis">
    Learn about log pattern analysis techniques
  </Card>

  <Card title="Visualizing API Traffic Logs with Kibana" icon="chart-bar" href="/en/tutorials/api-analytics-and-observability-scenarios/kibana-api-traffic-log-visualization">
    Learn detailed information about visualizing API traffic logs with Kibana
  </Card>
</CardGroup>
