問題タブ [splunk-query]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
292 参照

splunk - How to forward logs with Splunk Forwarder for the files with no header and logs should be in form of key/Value

I have a splunk forwarder setup already on my host.

I have certain files in the folder (/tom/mike/). File names are starting with Back*.

The content of file may in one or multiple line. There are multiple fixed position values separated with some spaces in each line with no header.

Content (Example: Consider "-" as one space)

I need splunk logs for each line.

like:

I know inputs.conf changes would be like below:

Please suggest changes which can be done in props.conf. Please keep in mind that delimiter is fixed for each value in line but its not same (like 2 spaces) for all column values. There are no headers as well in these files.

0 投票する
1 に答える
194 参照

splunk - 未使用のイベント タイプの Splunk クエリを作成するにはどうすればよいですか?

Splunk クエリを作成して、特定のイベント タイプの結果が結果に表示される回数を表示できることがわかりました。

これにより、次のようなテーブルが作成されます。

ここまでは順調ですね。ただし、結果がゼロのイベント タイプを見つけたいと考えています。残念ながら、カウントが 0 のものは上記のクエリには表示されないため、それだけでフィルタリングすることはできません。

未使用のイベント タイプの Splunk クエリを作成するにはどうすればよいですか?