Skip to content

[BUG] - "...Data successfully sent via..." message is not logged upon successful data transfer #82

@vasantbala

Description

@vasantbala

Describe the bug

When the output type is HTTP and after the data is successfully sent over HTTP, https://github.com/akamai/uls/blob/main/bin/modules/UlsOutput.py#L477 exits the method early and does not log the success message in https://github.com/akamai/uls/blob/main/bin/modules/UlsOutput.py#L503. We have setup alerts to notify if a successful message is not seen for 24 hours

To Reproduce
Steps to reproduce the behavior:

  1. Run python bin/uls.py --input 'EAA' --feed 'ACCESS' --edgerc '.edgerc' --output 'HTTP' --httpurl 'https://<splunk_or_similar_app>' --httpauthheader '{"Authorization": "Splunk "}' --httpaggregate 1 --loglevel 'DEBUG' --debugloglines 'True' --filter ".'apphost': ''."
  2. Notice that "...Data successfully sent via..." message will not be displayed upon successful log transfer

Expected behavior
"...Data successfully sent via..." message should be logged upon successful log transfer

Screenshots
N/A

ULS Version output
Akamai Unified Log Streamer Version information
ULS Version 1.8.4

EAA Version 0.6.11
SIA/ETP Version n/a
MFA Version n/a
GC Version n/a
LINODE Version n/a
ACC-LOGS Version n/a

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions