Skip to content

Commit

Permalink
Merge pull request #11 from trfv/feat/add_send_logs
Browse files Browse the repository at this point in the history
Update README and action.yml for sendLogs
  • Loading branch information
masci authored Aug 21, 2021
2 parents b71deb8 + 7ece848 commit 06de799
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ steps:
- ddsource: "nginx"
ddtags: "env:staging,version:5.1"
hostname: "i-012345678"
message: "2019-11-19T14:37:58,995 INFO [process.name][20081] Hello World"
message: "{\"message\":\"2019-11-19T14:37:58,995 ERROR [process.name][20081] Hello World\", \"level\":\"error\"}"
service: "payment"
```

Expand Down
6 changes: 6 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ inputs:
service-checks:
description: 'A list of service check objects to send, see docs for details'
default: '[]'
log-api-url:
description: 'The URL of the Log API endpoint, defaults to JSON or plain text format over HTTPS'
default: 'https://http-intake.logs.datadoghq.com'
logs:
description: 'A list of log objects to send, see docs for details'
default: '[]'
runs:
using: 'node12'
main: 'dist/index.js'
Expand Down

0 comments on commit 06de799

Please sign in to comment.