Getting Data In

How to index Json array into metric index?

brandy81
Path Finder

Hi All, My question is the same as the title. How am I able to index Json array into metric index? I would appreciate if anyone would help me out. Thanks!!

Json sample:

{ "MachineName": "East1", "Temperature": [ 10, 12, 13, 10, 11, 12, 14, 9, 12, 16,................18, 11, 13, 11, 10, 8] }

{ "MachineName": "East2", "Temperature": [ 10, 12, 14, 9, 12, 16, 14, 9, 12, 16,................18, 10, 12, 13, 10, 11,] }

{ "MachineName": "East1", "Temperature": [ 10, 12, 10, 12, 13, 10,  14, 9, 12, 16,................ 14, 9, 12, 16, 10, 8] }

{ "MachineName": "East2", "Temperature": [ 14, 9, 12, 16, 11, 12, 14, 9, 12, 16,................18, 11, 13, 11, 10, 8] }

Tags (1)
0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...