Skip to content

Commit

Permalink
Fix hostname header
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Belchik committed Apr 27, 2022
1 parent 90f280d commit f36b6d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cloudwatchlogs/cloudwatchlogs_lambda.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@ function postToSumo(callback, messages) {
var headerArray = key.split(':');

options.headers = {
'X-Sumo-Name': headerArray[0],
'X-Sumo-Name': headerArray[2],
'X-Sumo-Category': headerArray[1],
'X-Sumo-Host': headerArray[2],
'X-Sumo-Host': headerArray[0],
'X-Sumo-Client': 'cwl-aws-lambda'
};

Expand Down

0 comments on commit f36b6d3

Please sign in to comment.