The new notebook shell in the dev docker config #1515
Replies: 2 comments 5 replies
-
Let's take a look at an example, let's start by import and connect to a sketch. This will connect the sketch, create a Another example is to make a simple query, use the "Query a sketch using a button and a form" snippet and you will see: There you can enter a search query, even put out a time filter on the query and hit the button. What that does it to generate a
|
Beta Was this translation helpful? Give feedback.
-
FAQ: Why do I not see the other Timesketch Notebooks? |
Beta Was this translation helpful? Give feedback.
{{title}}
-
When you start the dev docker using
$ cd docker/dev $ sudo docker-compose up -d
You get a new notebook container, built on top of picatrix, but customized a bit for timesketch. You can access it using either http://localhost:8844 or http://localhost:8844/?token=timesketch
If you use the second URL you don't have to authenticate, otherwise you can type in
timesketch
as the password for the container.This gives you a container that maps the /tmp/ folder of your machine (you can change that by editing the docker-compose.yml file).
After typing in the password you get prompted by a notebook like this:
The first step is to create a new notebook using the drop down menu and selecting a new
python 3
book. Selecting that will create a new notebook that is empty, doesn't contain a single line of code in it. To help with populating the notebook with any data you can now use thesnippets
menu:There you can select any of the example code and that injects some code into the notebook.
Beta Was this translation helpful? Give feedback.
All reactions