Viewing logs on Kibana


BMC Helix Logging uses Elasticsearch, Fluent Bit, and Kibana (EFK) to collect, store, and view logs. After you deploy and configure BMC Helix Logging, you must configure Kibana to view logs.

Before you begin

Complete the tasks listed in the topic, Preparing-to-collect-logs-by-enabling-BMC-Helix-logging.


To create data views

  1. From the config/infra.config file, obtain the URL to access the Kibana UI.
    This is the value that you had set for the parameter KIBANA_LB_HOST.
    For example, https://kibana.apexglobal.bmc.com 
    See Configuration-file-settings.
  2. On the Kibana login screen:
    1. Enter elastic as the default user name.
    2. Enter the Kibana password that you added in the commons/certs/secrets.txt file.
      This is the value that you had set for the parameter KIBANA_PASSWORD in the secrets.txt file.
      See Preparing-for-password-encryption.
    3. Click Log In.
  3. At the top left corner, click 23.1.02_FlentBit_Hamburger.png.
  4. Scroll down the left pane, in the Management area, click Stack Management.
    23.1.02_FlentBit_StackMaangement.png
  5. In the Kibana area, click Data Views.
    23.1.02_FlentBit_DataViews.png
  6. Click Create data view.
  7. On the Create data view console, in the Name box, add a name for the data view, beginning with log*.
    23.1.02_FlentBit_CreateDataView.png
    All Fluent Bit logs start with the word logstash.
  8. Click Create data view.

To refine the search

  1. On the Kibana home page, click 23.1.02_FlentBit_Hamburger.png.
  2. In the Analytics area, click Discover.
  3. Use the filters to refine your search, and then click Refresh query.
    23.1.02_FlentBit_FiltersRefreshQuery.png
  1. Save your search.


To export logs to a csv file

  1. On the Kibana home page, click 23.1.02_FlentBit_Hamburger.png.
  2. In the Analytics area, click Discover.
  3. Use the filter to refine your search, and then click Refresh query.
    23.1.02_FlentBit_FiltersRefreshQuery.png

  4. Save your search.
  5. Select Share > CSV Reports.
    23.1.02_FlentBit_CSVReport.png
  6. Click Generate CSV.
    The system displays a similar message:
    23.1.02_FlentBit_Message1.png
  7. When prompted, click Download report and save the report.
    23.1.02_FlentBit_Message2.png

If you have any issues, send the CSV file to BMC Support.