Getting Data In

How to read data coming in through a virtual COM port?

tusharkulkarnie
New Member

Hello,

I am using splunk for the first time. I wanted to read data coming in through a virtual COM port into Splunk in real time. Is there a way to do that?
Step wise solution would be appreciated.

Thanks a lot.!

Tags (3)
0 Karma

Masa
Splunk Employee
Splunk Employee

Unfortunately Splunk does not ship any connector or logger software to monitor the port, you need to find a third party tool to monitor the port and convert the signal to human readable data. The tool output needs to be passed to a standard out or write to a log file where Splunk can monitor.

0 Karma

tusharkulkarnie
New Member

Okay. Thanks for your answer.!

0 Karma

Masa
Splunk Employee
Splunk Employee

Are you talking about RS-232 virtual COM port? If so, I doubt there is any ready-to-use solution. If not, can you describe a little more detail a virtual COM port? OS and the data output format?

0 Karma

tusharkulkarnie
New Member

I am working on windows. I have connected a microcontroller via USB to my PC. The microcontroller is sending Accelerometer, gyroscope and current sensor data to the PC via that port. Normally if I want to read that data, I read it through a data logger software and write it in a .csv file. But I wanted to know if there is any way to read it directly to splunk instead of going through csv.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...