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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...