Security

Multiple spaces in between data

hazarath
New Member

2018-07-28 12:55:48 ET GOT /itune/odb/1234567/sms/unread/count?_=123456 200 A1D2F3G45H6HY6@AK C1FV2G32G3HH34H+mP4yT+12gc= 10.131.42.16 0.013

Hi This is my sample dynamic data , we have to create raw fields and create a table with the following fields...URI,STATUS CODE, REQID, SESSIONID

Can anyone help me the query with the following fields

Tags (1)
0 Karma

sbbadri
Motivator

| rex field=_raw "(?P<date>\d+-\d+-\d+\s\d+:\d+:\d+)\s\S+\s\S+\s(?P<URI>\S+)\s(?P<status>\d+)\s(?P<code>\S+.*)\s(?P<REQID>\d+.\d+.\d+.\d+)\s(?P<SESSIONID>\d+.\d+)"

0 Karma

hazarath
New Member

Thank you for your reply. Its not working for me, looks like i am not explain teh question to you properly. I will share more details.

0 Karma

sbbadri
Motivator

sure. In between i had a typo in the query. Please check again

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...