Skip to main content
Interania

Admin Guide: Analyzing Interana logs

You can use Interana structured logs to analyze Interana, including query usage and environment performance data. This process is called loopback, because you are ingesting Interana structured logs back into Interana (looping them back into the system) for analysis. The following topics demonstrate how to set up Interana structured log loopback:

Interana structured logs for query usage

You can ingest Interana structured logs for query usage to analyze how Interana is used within your company. The following task demonstrates how to create a table, set up loopback, and then restart the Interana service.

To loopback structured logs for query usage, do the following:

  1. Create a table to contain loopback query structured log data, using the following command.
ia table create <query_table_name> "_time_" milliseconds <username>
  1. Set up loopback, using the following command.
ia settings update usage_loopback query_table <query_table_name>
  1. Log into the API node and restart the Interana service with the following command.
sudo service interana restart

Interana structured logs for ingest

You can analyze Interana structured logs to monitor Interana ingest performance. The following task demonstrates how to create a table, set up ingest, and then restart the Interana service.

To loopback structured logs for ingest, do the following:

  1. Create a table to contain the loopback structured log data, using the following command.
ia table create <ingest_table_name> "_time_" milliseconds <pipline_id>
  1. Set up loopback, using the following command.
ia settings update usage_loopback ingest_table <ingest_table_name>
  1. Log into the import node and restart the Interana service with the following command.
sudo service interana restart
  • Was this article helpful?