Getting Data In

UnivarsalForwarderとソースタイプについて,Universal Forwarderとソースタイプ

arai0729
Explorer

UnivarsalForwarderを使って、ログファイルをSplunk Enterpriseに送っているのですが、
この際、ソースタイプは指定できないのでしょうか。
,Universal Forwarderを使って、ログファイルをsplunk Enterpriseに送っているのですが、
送る際にソースタイプを指定できませんか?

0 Karma

Suda
Communicator

UFを使ったログファイルの送信時にもソースタイプを指定できます。
inputs.confをテキストエディタで編集して、UFを再起動すると設定が反映されます。

例)

[monitor://(モニター対象フォルダ・ファイル)]
sourcetype = (your_sourcetype)

参考:
monitor指定で利用可能なオプション一覧(https://docs.splunk.com/Documentation/Splunk/7.2.3/Data/Monitorfilesanddirect...

0 Karma

arlakathena
Explorer

あなたのUniversalForwarderのinputs.confにあなたのソースタイプとインデックスを設定してください。

リンク :
http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf?utm_source=answers&utm_medium=in...

Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...