Jira integration with ELK Stack

As you see in the above snapshot, 
Jira Base URL: https://qatechtesting.atlassian.net/
Project Key: QA
input {
http_poller {
urls => {
test1 => "https://qatechtesting.atlassian.net"
test2 => {
method => get
user => "sonucts@gmail.com"
password => "**********************"
url => "https://qatechtesting.atlassian.net/rest/api/2/search?jql=project=%22QA%22"
headers => {
Accept => "application/json"
}
}
}
request_timeout => 20
schedule => { every =>"20s"}
codec => "json"
}
}
output
{
elasticsearch {
hosts => ["localhost:9200"]
index => "jirabugs"
}
stdout {codec => rubydebug }
}
Base URL:https://qatechtesting.atlassian.net
Username:sonucts@gmail.com
Password:<<Note that the password is NOT your password to login, but an API token. To generate an API token, go to https://id.atlassian.com/manage/api-tokens# and create a new one. >>
logstash -f   C:\Automation\ELK\GetAllIssuesFromJiraUsingHttpPoller.conf

That’s It

Hope you found it useful! If you ever need my help, you can write in comments sections. Also, you can contact me through my personal website: www.QATechTesting.com or through my LinkedIn Profile.

--

--

Software Automation Testing expert with 9 years of work experience in diverse tools and technologies.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store