- Primeros pasos
- Acceso y permisos
- Notificaciones
- Interactuar con Insights
- Integración de Action Center
- Integración de Automation Hub
- Integración de Autopilot
- Integración de Healing Agents
- Integraciones de supervisión de licencias
- Integración con Maestro
- Integración con Test Manager
- Supervisión en tiempo real
- Exportación de datos en tiempo real
- Licencia
- Solución de problemas
Guía del usuario de Insights
Información general
In this topic you can learn how to leverage the Insights real-time data export feature to send data to ElasticSearch and use it to populate real-time monitoring data into Kibana dashboard.
Requisitos previos
Antes de poder empezar a ver datos de supervisión en tiempo real en Kibana, se deben configurar los siguientes hosts:
Configuración de un host de ElasticSearch
Puedes elegir alojar ElasticSearch tú mismo o utilizar la opción en la nube.
Para obtener más información, consulta el sitio web oficial de Elastic.
Configuración de un host FileBeat
Información general
FileBeat is a tool used to gather data from a source (EventHub in this case) and send it into ElasticSearch.
Instalación
Necesitas alojar tu propio servidor Filebeat.
Para instalar FileBeat, primero aprovisiona tus hosts y sigue las instrucciones del sitio web oficial de Elastic para tu sistema operativo.
Configuración
Para configurar File BEat, siga las siguientes instrucciones:
- Abre el archivo
filebeat.yml. - Configura una conexión a ElasticSearch:
cloud.id: "cloud:YOUR_CLOUD_ID" cloud.auth: "USERNAME:YOUR_PASSWORD"cloud.id: "cloud:YOUR_CLOUD_ID" cloud.auth: "USERNAME:YOUR_PASSWORD"
You can get your cloud ID from the Deployments tab in ElasticSearch.
3. Go to the filebeat.inputs section in the filebeat.yml file. 4. Add your EventHub connection settings in the filebeat.inputs section.
<ul>
<li>type: azure-eventhub
enabled: true
eventhub: <YOUR EVENTHUB>
consumer_group: "filebeat"
connection_string: <YOUR CONNECTION STRING>
storage_account_key: <YOUR STORAGE ACCOUNT KEY>
storage_account_container: ""
resource_manager_endpoint: """</li>
</ul>
<ul>
<li>type: azure-eventhub
enabled: true
eventhub: <YOUR EVENTHUB>
consumer_group: "filebeat"
connection_string: <YOUR CONNECTION STRING>
storage_account_key: <YOUR STORAGE ACCOUNT KEY>
storage_account_container: ""
resource_manager_endpoint: """</li>
</ul>
- Ve a la sección
processorsen el archivofilebeat.yml. - Añade las siguientes líneas en la sección
processors:<ul> <li>decode_json_fields: fields: ["message"] process_array: false max_depth: 2 target: "" overwrite_keys: false add_error_key: true</li> </ul><ul> <li>decode_json_fields: fields: ["message"] process_array: false max_depth: 2 target: "" overwrite_keys: false add_error_key: true</li> </ul>
Iniciar el servicio FileBeat
Después de instalar y configurar FileBeat correctamente, sigue el procedimiento desde el sitio web oficial de Elastic para iniciar el servicio.
View data in Kibana
Para ver tus datos en Kibana, sigue los siguientes pasos.
-
Abre ElasticSearch.
-
Expand the Analytics category from the dashboard on the left.
-
Select Discover.
-
Set the data view to filebeat-*.
Ahora puedes ver tus datos en Kibana.