Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 73
- % Total % Received % Xferd Average Speed Time Curr.
- Dload Upload Total Current Left Speed
- 0 0 0 0 0 0 0 0 --:--:-- 0:05:01 --:--:-- 0
- curl: (56) SSL read: error:00000000:lib(0):func(0):reason(0), errno 73
- search index=os_nix host=spock source=/var/adm/messages latest=-30d NOT snmpd authentication (error OR fail OR failure) | head
- URLPROTO='https://'
- URLHOST='splunkapi.example.com'
- URLPORT=':8089'
- URLDIR='/servicesNS/admin/search/search/jobs/export'
- URL="${URLPROTO}${URLHOST}${URLPORT}${URLDIR}"
- luser=(read from user input)
- lpassword=(read from user input)
- OUTFILE=(generated from hostname and the type of search I'm running)
- mySEARCH=(read from input file)
- USER=(User ID read from environment)
- curl -k -o "${OUTFILE}" -u ${luser:=${USER}}:${lpasswd} ${URL} -d search="${mySEARCH}" -d output_mode="csv"
- curl 7.11.1 (powerpc-ibm-aix5.2.0.0) libcurl/7.11.1 OpenSSL/0.9.7g ipv6
- Protocols: ftp gopher telnet dict ldap http file https ftps
- Features: IPv6 SSL NTLM Largefile
Add Comment
Please, Sign In to add comment