Getting Data In

Please provide the time_prefix and time_format for below event type.

lksridhar
Explorer

Hi folks,

Could you please anyone provide the TIME_PREFIX and TIME_FORMAT for below events type.

10.30.3.247 - - [08/Oct/2017:23:01:00 -0500] "GET /replocator-ws/services/RepDealerLocator?wsdl HTTP/1.1" 200 29638

Tags (1)
0 Karma

mayurr98
Super Champion

@p_gurav

[<spec>]
TIME_PREFIX = \[
TIME_FORMAT = %d/%b/%Y:%H:%M:%S %z

there will : instead of space

0 Karma

lksridhar
Explorer

The above methods is not working and the below format is working

TIME_PREFIX=[
TIME_FORMAT= %d/%b/%Y :%H:%M:%S %-4N

0 Karma

mayurr98
Super Champion

the sample event that you have mention does not contain space
if it does then you can write

TIME_FORMAT = %d/%b/%Y :%H:%M:%S %z
0 Karma

p_gurav
Champion

Hi lksridhar,

TIME_PREFIX = \[
TIME_FORMAT = %d/%b/%Y %H:%M:%S %z

Before this can you also try increasing value for MAX_TIMESTAMP_LOOKAHED property in props.conf file

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...