DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Building Scalable Real-Time Apps with AstraDB and Vaadin
Register Now

Trending

  • Designing a New Framework for Ephemeral Resources
  • A Data-Driven Approach to Application Modernization
  • Effective Java Collection Framework: Best Practices and Tips
  • RAML vs. OAS: Which Is the Best API Specification for Your Project?

Trending

  • Designing a New Framework for Ephemeral Resources
  • A Data-Driven Approach to Application Modernization
  • Effective Java Collection Framework: Best Practices and Tips
  • RAML vs. OAS: Which Is the Best API Specification for Your Project?
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. Aggregated Alerting for Logs with Logz.io and BigPanda

Aggregated Alerting for Logs with Logz.io and BigPanda

A typical IT monitoring configuration consists of multiple tools, with each one generating its own set of alerts. In this post, learn to about the new integration between Logz.io and BigPanda which will help to overcome the pain in today's complex IT monitoring stack.

Daniel Berman user avatar by
Daniel Berman
·
Jan. 08, 17 · Tutorial
Like (1)
Save
Tweet
Share
3.56K Views

Join the DZone community and get the full member experience.

Join For Free

in previous posts, i wrote about the integration between logz.io and datadog and pagerduty . in this article, i’d like to introduce you to an additional new integration — this time with bigpanda.

just in case you’ve never heard of the platform, bigpanda aims to help users reduce the high signal-to-noise ratio in today’s it monitoring stacks. a typical monitoring configuration consists of multiple tools, with each one generating its own set of alerts. bigpanda promises to help teams to correlate these different alerts and identify the ones that really matter.

logz.io’s alerting feature allows you to create advanced alerts on specific log messages, with recent updates allowing users to create alerts using elasticsearch metric aggregations such as max , min , avg , and sum.

let’s see how these two platforms play together.

creating a new integration in bigpanda

first, we need to set up a new integration within bigpanda to retrieve a token and api key.

this is easily done via the integrations tab in bigpanda. when asked to select what type of integration, select rest api. on the integration page, you will then be required to generate an app key. in this example, i have named mine “logz.”

you then have the two pieces needed to create the integration in logz.io: (1) the app key and (2) a token:

create integration in bigpanda

creating a new logz.io endpoint

now that we have the required pieces to set up the integration, we’re going to set up a new alert endpoint in logz.io.

under the alerts tab, select the alert endpoints page and then click “add endpoint”:

add endpoint

select “bigpanda” from the “type” drop-down menu, and fill in the required details using the app key and token that we retrieved above.

after you save the new endpoint, it will be added to the list of endpoints defined in logz.io:

list of alert endpoints

creating a new alert

congratulations! the integration is set up, and all that is left now is to configure a new log-based alert to test whether the integration is working as expected.

creating a new alert in logz.io is done from the “discover” tab in kibana. enter your query in the “search” field — in this case, i’m looking at an apache access log that reports a 504 error:

creating a new alert

once you’ve narrowed down the type of log message on which you want to be alerted, click the “create alert” button. the query is copied to the alert creation wizard, where it can be modified as desired:

modify alert

on the first page of the wizard, you will need to configure the trigger conditions — or, in other words, select which specific conditions will trigger an alert.

then, after naming and describing the alert on the following page, all that’s left to do is select the bigpanda endpoint on the third and final page of the wizard:

create new alert wizard

create the alert and open the incidents page in the bigpanda ui. once an alert is triggered in logz.io, it will show up as a new incident in bigpanda.

open the incident and select it to see more details on the log message:

get log message details

note: to reduce the amount of “log noise,” logz.io will send a maximum of five samples of the same event.

once in bigpanda, you can use the rich sharing and event management features to manage and correlate with alerts from other integrations.

additional resources

  • logz.io alerts faqs
  • bigpanda documentation
Integration

Published at DZone with permission of Daniel Berman, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • Designing a New Framework for Ephemeral Resources
  • A Data-Driven Approach to Application Modernization
  • Effective Java Collection Framework: Best Practices and Tips
  • RAML vs. OAS: Which Is the Best API Specification for Your Project?

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: