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
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 ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...