Getting Data In

How to write in props.conf so that the _time field takes time from the unixTime field?

gitingua
Communicator

Hello colleagues, I would like to know

I have events where there is a unixTime field. But the _time field does not show correctly

how can I write in props.conf so that the _time field takes time from the unixTime field

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @gitingua,

it's possible to set a props.conf to correctly read a unixtime as timestamp.

If you could share some sample of your logs, we could help you.

Ciao.

Giuseppe

0 Karma

gitingua
Communicator

@gcuselloHi!
Снимок экрана 2022-04-22 в 13.06.36.png

as you can see, my _time field is ahead of the unixTime field. And I would need the _time field to be the same as unixTime

i want to change my sourcetype in props.conf so that _time takes time from unixTime field

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

can you add some raw data inside </> block?

Some resources to use when you are onboarding data:

Basically you should configure props.conf so, that it take correct field/place from event and recognise timestamps correct. See those TIME_*  and MAX_TIMESTAMP* for found correct place. Also LINE_BREAKER needs time by time some changes.

r. Ismo

 

0 Karma
Get Updates on the Splunk Community!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...