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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...