Database Reference
In-Depth Information
Creating an area chart across time
The timechart command can be used to put together a useful chart of items bought over
time. Let's look at the following code and then put it into the search bar:
sourcetype=access* | timechart
per_minute(eval(method="POST")) AS Views
per_minute(eval(action="purchase")) AS Purchases
If you need to review what the code means here, go back to the bar chart shown in the fol-
lowing screenshot. To create an area chart from this search, take the following steps:
1. Run the search.
2. Make sure that your tabulations look reasonable and that you have Views and
Purchases as column headings, and days on the side.
3. Click the Visualizations tab.
4. Click on the top-left icon to select Area .
Your chart should look like what is shown in the following screenshot. Such as
chart is useful as it shows the proportion of purchases that use method
="POST" and how they change over time:
Area Chart of Percentage of Views as Purchases over Time
Search WWH ::




Custom Search