tips:bulkqstreamflow
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| tips:bulkqstreamflow [2024/08/05 16:38] – [Script] veera | tips:bulkqstreamflow [2024/11/06 13:25] (current) – [Script] veera | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Bulk Query ====== | + | ====== Bulk Query ipdr_bulkquery.sh |
| - | This script | + | |
| + | |||
| + | This script | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | This works on the following input | ||
| * Single Timeframe | * Single Timeframe | ||
| * A file containing a list of IP one per line | * A file containing a list of IP one per line | ||
| - | ===== Script ===== | + | ===== Script |
| + | |||
| + | |||
| + | The '' | ||
| + | |||
| + | |||
| + | ===== IP List ===== | ||
| + | |||
| + | Create a file called '' | ||
| + | |||
| + | <code bash> | ||
| + | #one per line | ||
| + | 203.43.23.1 | ||
| + | 22.23.44.55 | ||
| + | 87.23.55.123 | ||
| + | 78.178.21.139 | ||
| + | </ | ||
| + | |||
| + | ===== Run the script | ||
| + | |||
| + | Say you placed the '' | ||
| + | |||
| + | |||
| + | |||
| + | <code lang=' | ||
| + | |||
| + | |||
| + | ./ | ||
| + | |||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Output ===== | ||
| + | |||
| + | The output will be placed by default into a subdirectory in ''/ | ||
| + | |||
| + | The subdirectory will have the format '' | ||
| + | |||
| + | |||
| + | Inside the subdirectory there will be files containing the IPDR query results. You can copy these files over. | ||
| + | |||
| + | < | ||
| + | root@ipdradmin:/ | ||
| + | total 40880 | ||
| + | -rw-r--r-- 1 root root 230 Aug 5 15:22 queryresults.103.84.86.10 | ||
| + | -rw-r--r-- 1 root root 0 Aug 5 15:22 queryresults.103.84.86.10.csv | ||
| + | -rw-r--r-- 1 root root 230 Aug 5 15:23 queryresults.7.7.7.7 | ||
| + | -rw-r--r-- 1 root root 0 Aug 5 15:23 queryresults.7.7.7.7.csv | ||
| + | -rw-r--r-- 1 root root 26485607 Aug 5 15:23 queryresults.8.8.4.4 | ||
| + | -rw-r--r-- 1 root root 15360273 Aug 5 15:23 queryresults.8.8.4.4.csv | ||
| + | root@ipdradmin:/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| - | Copy the ipdr_bulkquery.sh script from https:// | ||
tips/bulkqstreamflow.1722856135.txt.gz · Last modified: 2024/08/05 16:38 by veera