Getting Data In

Start sending events in JSON format with pre existing raw events

abdalhadi_altin
New Member

Hi,

We are using Splunk Enterprise v 6.6.3. All our indexed events are raw events (logs) and we are planning to use Splunk HEC and send the events in JSON format.

My question: does sending the new events in JSON format affect everything that we have today in Splunk?

0 Karma

DMohn
Motivator

No, new events will not effect what has been indexed already.

However, you will have to consider the following:
If you index your new events with a new sourcetype (which you should so, as field extractions etc will be different for the JSON format), you may have to adapt your already existing searches (reports, dashboards, ...) to also include new data. If the data fields are still identical, you may just go for a index=yourdata sourcetype=oldsourcetype OR sourcetype=newsourcetype - ideally everything will still work.

0 Karma

vinod94
Contributor

Hi @abdalhadi_altinawi ,

Ideally, it should not affect your indexed data...only the fresh events get affected.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...