This widget could not be displayed.
This widget could not be displayed.
Getting Data In

Values repeated in each field

AnujaJ
Path Finder

I am getting repeated values in Splunk fields. This can be seen only in Table view. For list view/raw there is no repetition seen. However, my search queries treat all these fields as multi-valued fields. I do not want the repeated values in the single valued field.

Values in Splunk
alt text

Props.conf
[kpi_json]
CHARSET=UTF-8
INDEXED_EXTRACTIONS=json
KV_MODE=none
SHOULD_LINEMERGE=true
category=Structured
description=JavaScript Object Notation format. For more information, visit http://json.org/
disabled=false
pulldown_type=true
LINE_BREAKER=([\r\n]+)
TZ=Europe/Berlin
TIMESTAMP_FIELDS=@timestamp

This widget could not be displayed.
This widget could not be displayed.
Reply
1 Solution

woodcock
Esteemed Legend

Try these settings in props.conf on your Search Heads:

[YourSourcetypeHere]
KV_MODE = none
AUTO_KV_JSON = false

View solution in original post

This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Reply

AnujaJ
Path Finder

I removed Indexed extractions from the prop.conf on UF. And that resolved my issue.

This widget could not be displayed.
0 Karma
This widget could not be displayed.
This widget could not be displayed.
Reply

woodcock
Esteemed Legend

Try these settings in props.conf on your Search Heads:

[YourSourcetypeHere]
KV_MODE = none
AUTO_KV_JSON = false
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Reply

AnujaJ
Path Finder

I have these settings on props.conf on UF. Is that the problem that I need to put these settings on SH?

This widget could not be displayed.
0 Karma
This widget could not be displayed.
This widget could not be displayed.
Reply

woodcock
Esteemed Legend

Yes, that is most definitely the problem.

This widget could not be displayed.
0 Karma
This widget could not be displayed.
This widget could not be displayed.
Reply

solarboyz1
Builder

It sounds like you want to dedup a multi-value field:

| eval a=dedup(a), b=dedup(b)
This widget could not be displayed.
0 Karma
This widget could not be displayed.
This widget could not be displayed.
Reply

AnujaJ
Path Finder

This is not a multivalued field. This is a single valued field. All fields except the date field are affected. I want all the fields to appear as single valued field. The json data has getting wrongly doubled values.

This widget could not be displayed.
0 Karma
This widget could not be displayed.
This widget could not be displayed.
Reply

solarboyz1
Builder

What is the search used to generate the table

This widget could not be displayed.
0 Karma
This widget could not be displayed.
This widget could not be displayed.
Reply

AnujaJ
Path Finder

index=kpi sourcetype=kpi_json

This widget could not be displayed.
0 Karma
This widget could not be displayed.
This widget could not be displayed.
Reply
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Get Updates on the Splunk Community!