Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Challenge 3 turn in, Niklas Fejes #8

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 45 additions & 41 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,82 +1,80 @@
# Name

write-your-name
Niklas Fejes

# How many points have you earned?

0/100

(Make your own calculation and replace the number 0 with the points you think you've earned.)
100/100

# How many hours have you spent on this?

fill-in-your-answer
about 6-7 hours

# Show and tell (4 points)

[title-of-the-article](http://link-to-an-interesting-data-visualization-about-politics)
[xkcd.com - The United States Congress](http://xkcd.com/1127/)

# API (I) (4 points x 14 = 56 points)

## Checkpoints

### Checkpoint 1 (4 points)

![image](image.png?raw=true)
![image](screenshots/checkpoint1.png?raw=true)

### Checkpoint 2 (4 points)

![image](image.png?raw=true)
![image](screenshots/checkpoint2.png?raw=true)

### Checkpoint 3 (4 points)

![image](image.png?raw=true)
![image](screenshots/checkpoint3.png?raw=true)

### Checkpoint 4 (4 points)

![image](image.png?raw=true)
![image](screenshots/checkpoint4.png?raw=true)

### Checkpoint 5 (4 points)

![image](image.png?raw=true)
![image](screenshots/checkpoint5.png?raw=true)

### Checkpoint 6 (4 points)

![image](image.png?raw=true)
![image](screenshots/checkpoint6.png?raw=true)

### Checkpoint 7 (4 points)

![image](image.png?raw=true)
![image](screenshots/checkpoint7.png?raw=true)

### Checkpoint 8 (4 points)

![image](image.png?raw=true)
![image](screenshots/checkpoint8.png?raw=true)

## Challenges

### 1 (4 points)

![image](image.png?raw=true)
![image](screenshots/api-challenge1.png?raw=true)

### 2 (4 points)

![image](image.png?raw=true)
![image](screenshots/api-challenge2.png?raw=true)

### 3 (4 points)

![image](image.png?raw=true)
![image](screenshots/api-challenge3.png?raw=true)

### 4 (4 points)

![image](image.png?raw=true)
![image](screenshots/api-challenge4.png?raw=true)

### 5 (4 points)

![image](image.png?raw=true)
![image](screenshots/api-challenge5.png?raw=true)

### 6 (4 points)

![image](image.png?raw=true)
![image](screenshots/api-challenge6.png?raw=true)



Expand All @@ -85,60 +83,66 @@ fill-in-your-answer
## Challenge 1

### Challenge 1-a (4 points)
```
sourcetype=access_* [fill-in-the-rest]
```
![image](image.png?raw=true)
Use `created_at` as the timestamp field.
![image](screenshots/splunk-challenge1a.png?raw=true)

### Challenge 1-b (4 points)
```
sourcetype=access_* [fill-in-the-rest]
sourcetype=nfejes_events
```
![image](image.png?raw=true)
![image](screenshots/splunk-challenge1b.png?raw=true)

### Challenge 1-c (4 points)
```
sourcetype=access_* [fill-in-the-rest]
sourcetype=nfejes_events | stats count by type
```
![image](image.png?raw=true)
![image](screenshots/splunk-challenge1c.png?raw=true)

### Challenge 1-d (4 points)
```
sourcetype=access_* [fill-in-the-rest]
sourcetype=nfejes_events | timechart count by type
```
![image](image.png?raw=true)
![image](screenshots/splunk-challenge1d.png?raw=true)

## Challenge 2

**Note**: To be able to parse all `created_at` fields I had to add `TRUNCATE=0` to the
*Additional settings (overrides)* under the *Advanced mode (props.conf)* tab when setting
up the data source. This makes some of the graphs quite different from the ones displayed
in the challenge description.

### Challenge 2-a (4 points)
![image](image.png?raw=true)
```
sourcetype=course_github_events type=PushEvent | stats count by actor.login
```
![image](screenshots/splunk-challenge2a.png?raw=true)

### Challenge 2-b (4 points)
```
sourcetype=access_* [fill-in-the-rest]
sourcetype=course_github_events | timechart count by type
```
![image](image.png?raw=true)
![image](screenshots/splunk-challenge2b.png?raw=true)

### Challenge 2-c (4 points)
```
sourcetype=access_* [fill-in-the-rest]
sourcetype=course_github_events type=PullRequestEvent | top actor.login
```
![image](image.png?raw=true)
![image](screenshots/splunk-challenge2c.png?raw=true)

### Challenge 2-d (4 points)
```
sourcetype=access_* [fill-in-the-rest]
sourcetype=course_github_events type=PullRequestEvent | stats count by payload.action
```
![image](image.png?raw=true)
![image](screenshots/splunk-challenge2d.png?raw=true)

### Challenge 2-e (4 points)
```
sourcetype=access_* [fill-in-the-rest]
sourcetype=course_github_events type=PullRequestEvent payload.action=opened | stats count by actor.login
```
![image](image.png?raw=true)
![image](screenshots/splunk-challenge2e.png?raw=true)

### Challenge 2-f (4 points)
```
sourcetype=access_* [fill-in-the-rest]
sourcetype=course_github_events type=PullRequestEvent repo.name=*/challenge-week-2 | timechart count
```
![image](image.png?raw=true)
![image](screenshots/splunk-challenge2f.png?raw=true)
Binary file added screenshots/api-challenge1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/api-challenge2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/api-challenge3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/api-challenge4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/api-challenge5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/api-challenge6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkpoint1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkpoint2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkpoint3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkpoint4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkpoint5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkpoint6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkpoint7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/checkpoint8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge1a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge1b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge1c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge1d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge2a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge2b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge2c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge2d.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge2e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added screenshots/splunk-challenge2f.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.