New Relic is our new Logging & Monitoring platform which will be replacing Splunk. There are many different areas inside New Relic, but the main area Support will be using is the “Logs” area.
NavigationClick the Home icon at the top left to go to the main home screen
From here, you can click “Logs” to be able to search for email-related logs, error logs, access logs, etc.
In their logs UI, you can click the circle with a + inside it, to add additional fields to the UI
At the top-right of the page, you can click “Chart anything” as an alternative way to search through logs, but this has a steeper learning curve
Common Log Sources and DefinitionsNew Relic ingests logs from a number of different sources, each one known as a sourcetype. The most common sourcetypes you’ll want to be aware of are listed below:
Use Cases“My contact didn’t receive the email I sent them yesterday”Inside Logs, you could do a search for the following, which will pull log results from any of the 4 email-related logs (because only the email-related logs have the recipient field name):
recipient:[email protected]
But maybe there are too many results because the email address is being marketed to from dozens of different Infusionsoft/Keap applications, so you want to add in the application name to your query:
tenant:appNameGoesHere recipient:[email protected]
Or maybe you only want to find email bounces and ignore the reception and delivery logs, so you can change your query to this:
sourcetype:postfix_syslog OR sourcetype:inf_bouncelog tenant:appNameGoesHere recipient:[email protected]
“How did this contact record get created?”Inside logs, you would do a rather general search since you don’t know exactly what you’re looking for, but you’ll want to make sure that you set a custom date & time range (top right of the window) so that you don’t get overwhelmed with results. I usually recommend +/− 2 minutes from when the record was created, and then search using the following query:
sourcetype:webaccess tenant:appNameGoesHere
If the results are not readable, make sure to add the uri and message columns to the UI. You can then find if any API calls happened at the time the contact was created, or if an order was submitted, or if a user manually created the contact, etc.
“Why isn’t my campaign publishing?”Inside logs, you’ll want to use the webcritical sourcetype to see if there’s a descriptive error message indicating what the problem with the campaign is. You’ll again want to make sure you use a tight date/time window so that you’re not overwhelmed with results, and the query might look something like this:
sourcetype:webcritical tenant:appNameGoesHere
Additional Info/ResourcesSyntax for querying logs: https://docs.newrelic.com/docs/logs/new-relic-logs/ui-data/query-syntax-logs
Full list of sourcetypes and fields: https://docs.google.com/spreadsheets/d/1phS9ztXjgDuK10IaWjGxXchtT1sc4yqGi7UqVlXF1ZY/edit#gid=0
NavigationClick the Home icon at the top left to go to the main home screen
From here, you can click “Logs” to be able to search for email-related logs, error logs, access logs, etc.
In their logs UI, you can click the circle with a + inside it, to add additional fields to the UI
At the top-right of the page, you can click “Chart anything” as an alternative way to search through logs, but this has a steeper learning curve
Common Log Sources and DefinitionsNew Relic ingests logs from a number of different sources, each one known as a sourcetype. The most common sourcetypes you’ll want to be aware of are listed below:
- postfix_syslog
- Out-of-band email bounces
- Inf_bouncelog
- Email bounces
- inf_deliverylog
- Our mail server receives a response from the recipient’s mail server, indicating email was delivered
- inf_receptionlog
- Our mail server receives email from Infusionsoft/Keap, indicating that we have attempted to send the email
- webaccess
- Access logs for Infusionsoft/Keap. Generated when a user accesses a page, when an API call is sent to an app, etc.
- webcritical
- Error logs for Infusionsoft and Keap
- tenant (the Keap or Infusionsoft app name)
- sourcetype
- recipient (for email logs)
- delay (response time)
- contactId
- user (IP address that accessed the page or sent the API call)
Use Cases“My contact didn’t receive the email I sent them yesterday”Inside Logs, you could do a search for the following, which will pull log results from any of the 4 email-related logs (because only the email-related logs have the recipient field name):
recipient:[email protected]
But maybe there are too many results because the email address is being marketed to from dozens of different Infusionsoft/Keap applications, so you want to add in the application name to your query:
tenant:appNameGoesHere recipient:[email protected]
Or maybe you only want to find email bounces and ignore the reception and delivery logs, so you can change your query to this:
sourcetype:postfix_syslog OR sourcetype:inf_bouncelog tenant:appNameGoesHere recipient:[email protected]
“How did this contact record get created?”Inside logs, you would do a rather general search since you don’t know exactly what you’re looking for, but you’ll want to make sure that you set a custom date & time range (top right of the window) so that you don’t get overwhelmed with results. I usually recommend +/− 2 minutes from when the record was created, and then search using the following query:
sourcetype:webaccess tenant:appNameGoesHere
If the results are not readable, make sure to add the uri and message columns to the UI. You can then find if any API calls happened at the time the contact was created, or if an order was submitted, or if a user manually created the contact, etc.
“Why isn’t my campaign publishing?”Inside logs, you’ll want to use the webcritical sourcetype to see if there’s a descriptive error message indicating what the problem with the campaign is. You’ll again want to make sure you use a tight date/time window so that you’re not overwhelmed with results, and the query might look something like this:
sourcetype:webcritical tenant:appNameGoesHere
Additional Info/ResourcesSyntax for querying logs: https://docs.newrelic.com/docs/logs/new-relic-logs/ui-data/query-syntax-logs
Full list of sourcetypes and fields: https://docs.google.com/spreadsheets/d/1phS9ztXjgDuK10IaWjGxXchtT1sc4yqGi7UqVlXF1ZY/edit#gid=0