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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...