Getting Data In

Timestamp extraction failed if no INDEXED_EXTRACTION=json on props.conf

emallinger
Communicator

Hello,

On a monoinstance Splunk, I'd like to ingest some simple JSON data :

 

 { 
   GDH: 2021-07-08 16:54:00.617222
   action: )reV[viZpy)4noHQFhs7;)*!wHlRaY3mo4R(o6,
   dossier: FR668CORG2021078979348557
   id: 4000000
   ident: 267987
   ip: 10.226.689.32
   org: PN
   service: 3647971
   telephone: +33672108802
} 

 

I'd like to use only KV_mode, without indexed_extractions = json.

Here's my sourcetype :

 

[data_kvm_json]
DATETIME_CONFIG =
KV_MODE =
LINE_BREAKER = ([\r\n]+)
SHOULD_LINEMERGE = false
TIMESTAMP_FIELDS = GDH
TIME_FORMAT = %Y-%m-%d %H:%M:%S.%6N
category = Structured
description = sourcetype - kv_mode extraction
disabled = false
pulldown_type = true
NO_BINARY_CHECK = true

 

Here's the result :

Capture du 2021-07-08 17-44-41.png

 

 

 

 

 

 

 

The event is indexed at the time of the ingestion, not the event date wich is is GDH field.

 

I have several sourcetypes on another environnement (clustered IDX + SH), where this positionned in props.conf on indexer cluster works fine.

Is this a consequence of the architecture being only a mono-instance ?

What did I miss ?

Thanks,

Regards,

Eglantine

Labels (1)
0 Karma

emallinger
Communicator

Hi,

no luck.. same results in the UI (tried with "" and not) :

Capture du 2021-07-08 18-05-58.png

 

Thanks for the suggestion anyway.

Regards,

Ema

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Try adding TIME_PREFIX = GDH: to props.conf

---
If this reply helps you, Karma would be appreciated.
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, ...