0
votes

I have Elasticsearch, logstash, Kibana and filebeat installed on my local machine. I would like to pull in the data from our Azure DevOps automation build pipeline. E.g. We have a Cypress Automation Build Pipeline in Azure DevOps which runs our automation tests and I would like to use Elasticsearch to query the results, show the total number of tests run, number of passed and failed tests and build the Kibana visualization graph.

How do I configure the filebeat.yml file to pull the Azure logs in using a local intallation or Elasticsearch? From filebeat.yml the input paths section I see it wants a path to the log file. From Azure Devops, from our build pipeline if I download the logs and save them to my local and then I upload the logs from my localhost Kibana http://localhost:5601/ From Ingest Node Pipelines i selected Upload a file and then select the index pattern I see some data.
This is not the correct way as I would have to download the logs manually each day.

How would I configure the filebeat.yml to pull in the logs from Azure.
Can it not be done using a local installation of Elasticsearch?

Any help, guidance much appreciated. Thank you

1

1 Answers

0
votes

Instead of using local files, use Filebeat's Azure Module.