Hi All,
I am using below curl commad and getting output data correctly
curl -k -u AASSDD:PPOOII -d "output_mode=csv" --data-urlencode search='search source=*/AASSDDFF/PPOOLLKK**/94.0*ASD-RST* "Caused by" OR "Error: LISTENER WILL BE DISABLED" OR java.lang.reflect.InvocationTargetException | table host, source' -d 'max_count=1' -d 'earliest_time=-8h' -d 'latest_time=now' https://rst.cbs.com:0308/servicesNS/aassdd/search/search/jobs/export
but i want to use the �\� to extend the code for curl over multiple lines. Put each string that we are searching for on its own line.
like
curl -k -u AASSDD:PPOOII -d "output_mode=csv" --data-urlencode search='search source=*/AASSDDFF/PPOOLLKK**/94.0*ASD-RST*
"Caused by" OR \
"Error: LISTENER WILL BE DISABLED" OR \
java.lang.reflect.InvocationTargetException \
| table host, source' -d 'max_count=1' -d 'earliest_time=-8h' -d 'latest_time=now' https://rst.cbs.com:0308/servicesNS/aassdd/search/search/jobs/export
but i am not getting any data from this one.
pls help.