Getting Data In

How to apply ingest time log to metric?

brandy81
Path Finder

Hi All,

Let's say I receive log data through TCP on UF, and I want to save the data in event index and metric index as well.
I create new source type and new metric index in order to save the data into metric.

  1. Is it possible to save the data in the event index(normal) and metric index at the same time?

2. With below configuration, the data is only saving on IDX. If I want to save the data into metric as well, how to do it?

on UF:
inputs.conf
[monitor://xxxxx.log]
index = event_idx
sourcetype = eventsourcetype

on IDX
inputs.conf
[splunktcp://9997]


0 Karma
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...