Is there any way to get the admin logs as an RSS feed?

AI-generated summary

The discussion revolves around the possibility of obtaining admin logs as an RSS feed. one1 initiated the conversation, expressing a desire to receive logs in their RSS reader as they happen, rather than checking the site. HAWK responded that this feature is not currently supported out-of-the-box, but suggested using the API.

one1 clarified that they are interested in receiving staff action logs, error logs, and email logs. pfaffman proposed using the data explorer plugin, but noted that the RSS reader would need to pass the user and API key in the header. However, sam pointed out that this approach may not work due to RSS shape expectations, and suggested either creating a custom Discourse plugin or using a third-party service as a bridge.

The conversation concluded with one1 thanking HAWK for their work on Discourse, and pfaffman sharing their experience with using curl and jq to output data from the data explorer. Ultimately, a straightforward solution to obtain admin logs as an RSS feed was not found.

I realize that there would have to be security measures.

I’d rather get the logs in my rss reader as they happen rather than having to check on the site.

Or is there some other, better solution?

I’m afraid we don’t currently support the ability to export admin logs as an RSS feed out-of-the-box. You could potentially use the API.

You could conceivably use the data explorer plugin, but your rss reader would need to be able I pass the user and api key in the header

By admin logs do you mean staff action logs or something else?

Those, as well as error and email.

I already have an rss reader as part of my daily habits, so if it was easy to get them there tat would be awesome. But I understand if it’s not possible/straightforward.

I am not sure this would help. RSS expects certain shape, and you could not get that shape out of data explorer.

I think you would need either:

  1. A custom discourse plugin to do the job
  2. Run a third party service that acts as a bridge

Right. I was thinking that I recently managed to get data explorer to output a TXT file that had all fields in a single row separated by ~, but I forgot that a key piece of the process was pulling it with curl and running it through jq :person_shrugging:

Thank you. And thank you for all your work on Discourse.