Splunk Search

Can't find the timestamp

jetzt82
Explorer
AUTOLOGIN..10100000000001..Polaris/5.0 (pc, Windows 7/6.1, ja-JP) PolarisOfficeLink/1.8.14..**1415285996**..192.168.0.1
AUTOLOGIN..10100000000003..Polaris/5.0 (ipad, ios/7.100000, es-CO) PolarisPlugin/6.0.9279.01-IU40 Version/6.0.1 Model/iPad2,5-{768, 1024}..**1415285996**..192.168.0.3
LOGIN..10100000000006..Polaris/5.0 (iphone, ios/8.000000, en-VN) PolarisPlugin/6.0.9279.01-IU40 Version/6.0.1 Model/iPhone7,2-{640, 1136}..**1415285997**..192.168.0.5

When the above log, can not find the time.
timestamp value: 1415285996, 1415285996, 1415285997

How can I find a timestamp?

Tags (2)

grijhwani
Motivator

The quickest way would be to use the interactive field extractor when viewing the log.

But if you want to do it manually a regex along the lines of \*\*(?P< epochtime >)\*\* should do it for you.

grijhwani
Motivator

Had to introduce bogus spaces into the answer above, because the form was removing anything in angle brackets.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...