tips:bulkqstreamflow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tips:bulkqstreamflow [2024/08/05 16:47] – [Script] veeratips:bulkqstreamflow [2024/11/06 13:25] (current) – [Script] veera
Line 1: Line 1:
-====== Bulk Query ======+====== Bulk Query ipdr_bulkquery.sh ======
  
-This script works with the following input+ 
 + 
 +This script is included with the Trisul Hub IPDR package.  The purpose of this script is to allow our IPDR Customers to enter hundreds of IPs at once. Without this it can be tedious to enter each IP separately into the IPDR Web Form.   
 + 
 +<note important> **XLSX format not available** The drawback is the XLSX format is not supported in this mode. However you can use the CSV files to create a XLSX easily. We recommend you simply use the TXT report format</note> 
 + 
 +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 Location  =====
  
-Copy the ipdr_bulkquery.sh script from https://raw.githubusercontent.com/trisulnsm/trisul-scripts/master/bash/ipdr_bulkquery.sh 
  
 +The ''ipdr_bulkquery.sh'' script is available in the ''/usr/local/share/trisul-hub'' directory.
  
  
 ===== IP List ===== ===== IP List =====
  
-Create a file called `iplist1.txtand put all IPs you wish to query in that list +Create a file called ''iplist1.txt'' and put all IPs you wish to query in that list 
  
-```+<code bash>
 #one per line  #one per line 
 203.43.23.1 203.43.23.1
Line 22: Line 28:
 87.23.55.123 87.23.55.123
 78.178.21.139 78.178.21.139
-```+</code>
  
 ===== Run the script  ===== ===== Run the script  =====
Line 48: Line 54:
 Inside the subdirectory there will be files containing the IPDR query results. You can copy these files over. Inside the subdirectory there will be files containing the IPDR query results. You can copy these files over.
  
- + <code bash> 
-```+
 root@ipdradmin:/usr/local/share/trisul-hub# ls -l /tmp/ipdrresults-1722851578 root@ipdradmin:/usr/local/share/trisul-hub# ls -l /tmp/ipdrresults-1722851578
 total 40880 total 40880
Line 60: Line 65:
 root@ipdradmin:/usr/local/share/trisul-hub#  root@ipdradmin:/usr/local/share/trisul-hub# 
  
-```+</code> 
  
  
tips/bulkqstreamflow.1722856630.txt.gz · Last modified: 2024/08/05 16:47 by veera