Getting Data In

Collect data from WEC to which other machines send logs

test_qweqwe
Builder

Hello.
I have windows№1 who sending logs to my windows№2 (WEC) on which i have UF (windows_TA) who collecting data and in Splunk i got logs only from windows№2 (although the logs from windows№1 are displayed in WEC).

0 Karma
1 Solution

naidusadanala
Communicator

Okay got your problem ,

You need to specify a regex in the inputs.conf to make sure that it assigns the proper host value .

The parameter for that is host_regex .

so until you specify the regex it shows you all the events from windowsno1 and 2 with host = windows2 as the logs are getting from windows 2 to splunk.

View solution in original post

naidusadanala
Communicator

Okay got your problem ,

You need to specify a regex in the inputs.conf to make sure that it assigns the proper host value .

The parameter for that is host_regex .

so until you specify the regex it shows you all the events from windowsno1 and 2 with host = windows2 as the logs are getting from windows 2 to splunk.

engrimranzakir
Explorer

how we  can specify a regex in the inputs.conf to make sure that it assigns the proper host value  ?

0 Karma

test_qweqwe
Builder

I will try later this method. Thanks!

0 Karma

mayurr98
Super Champion

hey @test_qweqwe
what logs are you sending to windows2? As I see you have installed windows_TA it seems that it is a Splunk Add-on for Windows which provides data inputs for Windows management. You can monitor, manage, and troubleshoot Windows operating systems from one place. The add-on comes with a set of file, event log, performance monitoring, and other inputs for collecting CPU, disk, I/O, memory, log, configuration, and user data.
so the question is how are you forwarding these logs to windows2?

Don't you think this is not something you are doing indexing manually by writing monitor inputs? in this case, it should show but in your case, you can not, rather you need to install forwarder and add-on on winodow1 as well

I hope this helps you!

test_qweqwe
Builder

Oh, the problem is another 🙂
windows1 monitoring another machines, but it's looking as in my screenshot
http://prntscr.com/hq1eqr
Another hosts only shows in logs as field of logs of windows1. I need to show another as separate hosts.

Do u understand what I mean? It's kinda hard me explain on English.
http://prntscr.com/hq1g59 (I monitoring them, but there are not Update Last time, coz dat hosts including as fields of WIN2012LAB).

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!

All Work and No Play? Not at .conf26! Unwind at These Evening Events

Between hands-on technical sessions, keynote reveals, and diving into live architectures, .conf26 is packed ...

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...

Level Up Your Workflow: Mastering Splunk Cloud Management via Terraform

Tech Talk Recap   From Chaos to Control: Scaling Splunk Cloud with Infrastructure as Code Managing apps in ...