Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

Description

  1. session key 생성 curl -k https://splunk_server_ip:8089/services/auth/login --data-urlencode username=admin --data-urlencode password=admin01!

  2. search query curl -k -H "Authorization: Splunk 9d3zIppergQSjJ2C0TPV8PZghZ5fdvZz_GcVihhHLEdbpaZQAttQ10s^joWS_UpKvEbgM4ck9wtN_5wn5xbFZv04nAX9_nQEiVxcf3S" https://splunk_server_ip:8089/services/search/jobs/export -d search="search index=test sourcetype=test11_status earliest_time=08/09/2021:10:00:00 latest_time=08/09/2021:11:00:59" -d output_mode="json"

Submitted by anonymous - 3 years ago