Getting Data In

Getting data splunked arriving over a network/database

jigarkb
Engager

Here are some specific queries/problem statement I have :

  1. How can data be directly fed into splunk in a programmatic manner? This would mean that there is no manual intervention. A scenario is that data is arriving over the network and it needs to be stored in splunk.
  2. Is there a splunk connector which can directly talk to mysql database so that splunk can retrieve data automatically from mysql?
  3. Can the splunk query response data be formatted in JSON? What other formats can splunk query response data be formatted in?
Tags (1)
0 Karma
1 Solution

Ayn
Legend
  1. Yes. This is the most common way of feeding data into Splunk. Manually adding data is (I believe) less common. Filesystem-based inputs will continually monitor files or directories for new data and index it as soon as it arrives. Network-based inputs will do the same for network sockets.

  2. Yes. Have a look at Splunk DB Connect.

  3. Yes. JSON is one, CSV another, and there are more formats available, too. See information in the REST API docs:

View solution in original post

Ayn
Legend
  1. Yes. This is the most common way of feeding data into Splunk. Manually adding data is (I believe) less common. Filesystem-based inputs will continually monitor files or directories for new data and index it as soon as it arrives. Network-based inputs will do the same for network sockets.

  2. Yes. Have a look at Splunk DB Connect.

  3. Yes. JSON is one, CSV another, and there are more formats available, too. See information in the REST API docs:

Ayn
Legend

No, that covers more than what I'd like to put in a simple answer. My suggestion is that you read the docs and become familiar with how Splunk works in a distributed environment.

0 Karma

jigarkb
Engager

Can you explain in detail how to feed xml data coming over a network and feeding it into splunk?

0 Karma
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...