Getting Data In

How to wok with event Linebreaking

gajananh999
Contributor

Hello Everyone,

I have one IIS Log files

example :
2013-01-23 00:00:00.444 "AEPLWEB2" "66.249.74.162" /research/userreviews/reviewdetails.aspx rid=114 "E:\sites\carwale\research\userreviews\reviewdetails.aspx" 200 - 0 15036 306 - - "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 05:30:00.444 436 0 "WWW.CARWALE.COM" 192.168.1.15 80 3.944 - "HTTP/1.1" "http" GET "www.carwale.com" 2013-01-23 00:00:00.444 2013-01-23 11.37 - 2013-01-23 00:00:00.008

When i input this file the by default time stamp taken was 2013-01-23 00:00:00.444 But According to IST i want make time stamp as 2013-01-23 05:30:00.444 as made bold in line also.

How can i do this. How can i create Timestamp.?

Thanks a regrads,
Gajanan Hiroji

Tags (2)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Specifying \)"\s+ as timestamp prefix appears to pick out the 05:30:00.444 together with the second 2013-01-23 later in the line.

Edit: The closing parenthesis appears to be part of the referer, hence bad to use - (\S+\s+){15} with appropriate values for the max lookahead should do the same.

0 Karma
Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...