Page MenuHomeDevCentral

Serve /servers-log/all.json API request
ClosedPublic

Authored by dereckson on Feb 16 2018, 17:26.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 05:28
Unknown Object (File)
Thu, Dec 11, 10:37
Unknown Object (File)
Mon, Dec 8, 15:12
Unknown Object (File)
Mon, Dec 8, 03:13
Unknown Object (File)
Sun, Dec 7, 16:45
Unknown Object (File)
Sun, Dec 7, 13:23
Unknown Object (File)
Sun, Dec 7, 12:07
Unknown Object (File)
Sat, Dec 6, 11:35
Subscribers
None

Details

Summary

Map this path to the log maintained by the servers log microservice.

Replicate configuration for area51.

Test Plan

Browse both for api and api51 /servers-log/all.json

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson added inline comments.
roles/webserver-content/org/nasqueron/api.sls
37

Should be the user running the API

Use /tmp, as user directories could be at 700 in this configuration

dereckson marked an inline comment as done.

Creates /srv/api/data/servers-log-all.json or ensure it has the good username (defined in D1312)

This revision is now accepted and ready to land.Feb 16 2018, 20:48
This revision was automatically updated to reflect the committed changes.