question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Slack "block" formatting

See original GitHub issue

Slack is moving toward a JSON “block” approach for formatting messages. More information can be found here: https://api.slack.com/messaging/composing/layouts

Could this formatting be integrated into the backend logging.yaml setup?

To give you an idea of what it looks like in action, I pasted an example layout below that I created on: https://api.slack.com/tools/block-kit-builder [ { "type": "section", "text": { "type": "mrkdwn", "text": "*ARTEMIS has detected a configured prefix (8.23.153.0/24) being hijacked*" } }, { "type": "divider" }, { "type": "section", "text": { "type": "mrkdwn", "text": "Hijacked prefix: 8.23.153.0/24\nHijacking AS: 46435\nTime Started: 2019-08-19 12:43:54\ntype: E|0|-|-\nURL: https://artemis.exampledomain.com/main/hijack?key=1bbbaffff5a7bc3b2c56e69c7bf7790b16" } } ]

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
slowrcommented, Aug 26, 2019

Hey, thanks for sharing information about the slack’s layout. I will add this feature for the next milestone and if anyone is interested contributing the changes through a PR it’s welcome.

0reactions
vkotroniscommented, Nov 16, 2019

Closing since this is sth custom done on the user’s side (slack bots, formatting apps, etc.). Could re-open if a new formatting tool that can be integrated into ARTEMIS is suggested by the user base.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating rich message layouts
Individual blocks can be stacked together to create complex visual layouts. ... Block Kit Builder will allow you to drag, drop, and rearrange...
Read more >
Reference: Layout blocks
Read our guide to building block layouts to learn where and how to use each of these components. You can include up to...
Read more >
Formatting text for app surfaces
Text objects contain a text field that can be formatted using a simple markup language called mrkdwn . Use it in most Block...
Read more >
Format your messages
Formatting helps add detail and clarity to your messages in Slack. You can use the formatting toolbar in the message field, or use...
Read more >
Formatting text in messages
Read our reference guide to formatting text for app surfaces to learn about the mrkdwn formatting syntax available for use in messages, modals,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found