# streamview > streamview shows the events of a system on a live timeline in the browser: the messages of Kafka topics, NATS subjects, and RabbitMQ exchanges, webhooks, and the JSON output of each command. The data does not need a special format. It is open source (Apache-2.0), and it is made by EventCatalog. - streamview is one program for macOS and Linux. There is also a container image. The Kafka, NATS, and RabbitMQ commands need Node.js. - Install: `curl -fsSL https://github.com/event-catalog/streamview/releases/latest/download/install.sh | sh` - The documentation is in the program also, for the version that is installed: `streamview docs` gives the list of pages, `streamview docs NAME` gives one page, and `streamview docs --search TEXT` finds a word. Read it before this website, which has the documentation of the latest version. - Start with made-up events: `streamview demo` - Kafka: `streamview kafka --brokers localhost:9092` - NATS: `streamview nats --servers localhost:4222` - RabbitMQ: `streamview rabbitmq --url amqp://localhost` - Webhooks: `streamview webhooks`. Give each service the address `/webhooks/NAME`. streamview makes one event from each webhook. - A file or a different program: `my-program | streamview serve -`, with one CloudEvent or one plain JSON record on each line. - The output of a command that prints JSON objects, for example a log file: `tail -n +1 -f app.log | streamview serve - --type-field event --time-field ts` - An archive in an S3 bucket: `aws s3 cp s3://my-bucket/events.json.gz - | streamview serve - --type-field eventType --time-field occurredAt --sort` - A lane can have an icon of your own. Put an `icon` attribute in the event: an emoji, the address of an image, or a `data:image/` address. For plain JSON records, use `--icon VALUE` for all lanes, or `--icon-field NAME` for a field of the record. `--icon` also takes an image file. - streamview does not change the offsets of Kafka consumers, and it does not take messages from the queues of other services. - Source code: https://github.com/event-catalog/streamview The full text of all pages is in one file: https://www.eventcatalog.dev/tools/streamview/llms-full.txt ## Tutorials Lessons for a new user. - [See your first events](https://www.eventcatalog.dev/tools/streamview/docs/tutorials/see-your-first-events): Install streamview, start the demo, and find two faults in a mock order system. - [Send JSON records to streamview](https://www.eventcatalog.dev/tools/streamview/docs/tutorials/send-json-records): Send an example file of plain JSON records from a command to streamview, find a payment outage, and make the view live. - [Watch a Kafka system](https://www.eventcatalog.dev/tools/streamview/docs/tutorials/watch-a-kafka-system): Start an example order system on a real broker, follow one order across its topics, and start a fault. - [Watch a NATS system](https://www.eventcatalog.dev/tools/streamview/docs/tutorials/watch-a-nats-system): Start an example food-delivery system on a real NATS server with JetStream, and follow one order. - [Watch a RabbitMQ system](https://www.eventcatalog.dev/tools/streamview/docs/tutorials/watch-a-rabbitmq-system): Start a small bike-rental system on a real RabbitMQ server, follow one booking, and see the messages that go directly to a queue. ## How-to guides The steps for one task. - [Install streamview](https://www.eventcatalog.dev/tools/streamview/docs/how-to/install-streamview): Install the streamview program on macOS or Linux with one command, or use the container image. - [Connect to Kafka](https://www.eventcatalog.dev/tools/streamview/docs/how-to/connect-to-kafka): Show the messages of your Kafka topics on the timeline, and select the topics that streamview reads. - [Connect to NATS](https://www.eventcatalog.dev/tools/streamview/docs/how-to/connect-to-nats): Show the messages of your NATS subjects and JetStream streams on the timeline. - [Connect to RabbitMQ](https://www.eventcatalog.dev/tools/streamview/docs/how-to/connect-to-rabbitmq): Show the messages of your RabbitMQ exchanges on the timeline, and do not take a message from your services. - [Show events from a file, a program, or HTTP](https://www.eventcatalog.dev/tools/streamview/docs/how-to/show-your-own-events): Send CloudEvents to streamview from a file, from the output of a different program, or with an HTTP request. - [Show webhooks](https://www.eventcatalog.dev/tools/streamview/docs/how-to/show-webhooks): Give a service an address on streamview, and see each webhook that it sends as an event on the timeline. - [Show events from any command](https://www.eventcatalog.dev/tools/streamview/docs/how-to/show-events-from-any-command): Send the output of a command to streamview. If the command prints JSON objects, streamview shows them as events. - [Show events from an S3 bucket](https://www.eventcatalog.dev/tools/streamview/docs/how-to/show-events-from-s3): Load an archive of events from an Amazon S3 bucket, and see the events at the times when they occurred. - [Find events with filters](https://www.eventcatalog.dev/tools/streamview/docs/how-to/find-events-with-filters): Show only the events that have a given broker, channel, type, source, or data value. - [Follow one order](https://www.eventcatalog.dev/tools/streamview/docs/how-to/follow-one-order): See all events that have the same correlation ID, from an event on the timeline or from the ID. - [Make sets](https://www.eventcatalog.dev/tools/streamview/docs/how-to/make-sets): Put the channels of one flow or one team in a set, and show only these channels. - [Write notes for your team](https://www.eventcatalog.dev/tools/streamview/docs/how-to/write-notes): Put a note at one time on the timeline, so that a different person can find what you saw. - [Share a view](https://www.eventcatalog.dev/tools/streamview/docs/how-to/share-a-view): Send a link that opens the same set, time range, filters, event, and note for a different person. - [Export events to a file](https://www.eventcatalog.dev/tools/streamview/docs/how-to/export-events): Save the events that the page shows to a file, and send them to a different streamview or to your service. - [Host a public demo](https://www.eventcatalog.dev/tools/streamview/docs/how-to/host-a-public-demo): Put the demo on a server that other persons can open, with no changes to data on the server. - [Run streamview in Docker](https://www.eventcatalog.dev/tools/streamview/docs/how-to/run-in-docker): Run the demo, Kafka, or NATS command of streamview in a container. - [Limit how long streamview keeps events](https://www.eventcatalog.dev/tools/streamview/docs/how-to/limit-kept-events): Use the keep option to delete old events, so that the memory and the SQLite file do not become larger with time. - [Make test events](https://www.eventcatalog.dev/tools/streamview/docs/how-to/make-test-events): Use the mock command to print the events of a mock order system, for tests of streamview or of your own programs. - [Build streamview from the source code](https://www.eventcatalog.dev/tools/streamview/docs/how-to/build-from-source): Build the streamview program or the container image from the source code, to change streamview or to use a version that has no release. ## Reference Exact descriptions of the commands, the formats, and the page. - [Command line](https://www.eventcatalog.dev/tools/streamview/docs/reference/command-line): All commands and options of the streamview program, with their default values. - [Event format](https://www.eventcatalog.dev/tools/streamview/docs/reference/event-format): The CloudEvents fields that streamview reads, and how the adapters make events from Kafka, NATS, and RabbitMQ messages. - [HTTP endpoints](https://www.eventcatalog.dev/tools/streamview/docs/reference/http-endpoints): The HTTP endpoints of the streamview server, for events, settings, and status. - [The page](https://www.eventcatalog.dev/tools/streamview/docs/reference/the-page): The parts of the streamview page, its colors, its mouse and keyboard actions, its filter names, and its link. - [Storage](https://www.eventcatalog.dev/tools/streamview/docs/reference/storage): Where streamview keeps events, sets, colors, pins, the lane sequence, and notes, on the server and in the browser. - [Limits](https://www.eventcatalog.dev/tools/streamview/docs/reference/limits): What streamview does not do, and the limits of the current version. ## Explanation The reasons, the design, and the limits. - [How streamview reads without taking messages](https://www.eventcatalog.dev/tools/streamview/docs/explanation/how-streamview-reads): Why streamview does not take messages from your services when it reads Kafka, NATS, and RabbitMQ, and where this is not possible. - [How streamview works](https://www.eventcatalog.dev/tools/streamview/docs/explanation/how-streamview-works): The parts of streamview, how an event goes from a broker to the timeline, and why the parts are as they are. - [Flagged events](https://www.eventcatalog.dev/tools/streamview/docs/explanation/flagged-events): How streamview finds events that have a different shape from the usual events of their channel, and what this does not tell you. - [Time and sequence of events](https://www.eventcatalog.dev/tools/streamview/docs/explanation/time-and-sequence): Which time streamview uses for an event, how it puts events in sequence, and what occurs when an event comes late. - [Why CloudEvents](https://www.eventcatalog.dev/tools/streamview/docs/explanation/why-cloudevents): Why streamview uses the CloudEvents format for all events, and what occurs with messages that are not CloudEvents. ## Guides One page for one question, with screenshots. - [Visualize your Kafka topics on a live timeline](https://www.eventcatalog.dev/tools/streamview/guides/visualize-kafka-topics): To visualize Kafka topics, run streamview kafka --brokers localhost:9092. streamview reads your topics and draws each topic as one lane on a live timeline in your browser. You see when messages arrived, where they stopped, and which message came next. It is open source, it runs on your computer, and it does not change the offsets of your consumer groups. - [Visualize your MQTT topics on a live timeline](https://www.eventcatalog.dev/tools/streamview/guides/visualize-mqtt-topics): To visualize MQTT topics, pipe the JSON output of mosquitto_sub into streamview: mosquitto_sub -t '#' -F '%J' -R | streamview serve - --type-field topic. streamview draws each topic as one lane on a live timeline in your browser. It has no MQTT adapter, but it reads each command that prints JSON, so this works with each broker that mosquitto_sub can connect to. It is open source, and it runs on your computer. - [Visualize your NATS subjects on a live timeline](https://www.eventcatalog.dev/tools/streamview/guides/visualize-nats-subjects): To visualize NATS subjects, run streamview nats --servers localhost:4222. streamview subscribes to all subjects and draws each subject as one lane on a live timeline in your browser. For subjects that a JetStream stream stores, it also shows the history. It is open source, it runs on your computer, and it does not take messages from your queue groups or work queues.