about summary refs log tree commit diff stats
path: root/awk/rawk/scratch/tests_old/data/test_logs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'awk/rawk/scratch/tests_old/data/test_logs.txt')
-rw-r--r--awk/rawk/scratch/tests_old/data/test_logs.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/awk/rawk/scratch/tests_old/data/test_logs.txt b/awk/rawk/scratch/tests_old/data/test_logs.txt
new file mode 100644
index 0000000..7fb0e19
--- /dev/null
+++ b/awk/rawk/scratch/tests_old/data/test_logs.txt
@@ -0,0 +1,16 @@
+# Sample Apache log entries
+192.168.1.100 - - [15/Jan/2024:10:30:15 +0000] "GET /index.html HTTP/1.1" 200 1024
+192.168.1.101 - - [15/Jan/2024:10:30:16 +0000] "GET /style.css HTTP/1.1" 200 512
+192.168.1.102 - - [15/Jan/2024:10:30:17 +0000] "POST /login HTTP/1.1" 302 0
+192.168.1.103 - - [15/Jan/2024:10:30:18 +0000] "GET /image.jpg HTTP/1.1" 200 2048
+192.168.1.104 - - [15/Jan/2024:10:30:19 +0000] "GET /nonexistent.html HTTP/1.1" 404 0
+192.168.1.105 - - [15/Jan/2024:10:30:20 +0000] "GET /script.js HTTP/1.1" 200 768
+192.168.1.106 - - [15/Jan/2024:10:30:21 +0000] "POST /submit HTTP/1.1" 500 0
+
+# Sample syslog entries
+Jan 15 10:30:15 server1 sshd: Accepted password for user1 from 192.168.1.100
+Jan 15 10:30:16 server1 kernel: ERROR: Out of memory
+Jan 15 10:30:17 server1 apache2: WARNING: Server reached MaxClients
+Jan 15 10:30:18 server1 cron: INFO: Daily backup completed
+Jan 15 10:30:19 server1 sshd: ERROR: Failed password for user2 from 192.168.1.101
+Jan 15 10:30:20 server1 systemd: INFO: Started network service 
\ No newline at end of file