<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Data ingestion issue on newly setup standalone server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/632680#M108348</link>
    <description>&lt;P&gt;For all of the given sources, there is data sent, either continuously, either on-demand.&lt;/P&gt;&lt;P&gt;This is validated in metrics.log for port 9997&lt;BR /&gt;55823:03-01-2023 00:02:02.367 +0000 INFO Metrics - group=tcpin_connections, 192.168.x.y:54836:9997, connectionType=cooked, sourcePort=54836, sourceHost=192.168.x.y, sourceIp=192.168.x.y, destPort=9997, kb=0.334, _tcp_Bps=11.032, _tcp_KBps=0.011, _tcp_avg_thruput=0.011, _tcp_Kprocessed=1877.581, _tcp_eps=0.032, _process_time_ms=0, evt_misc_kBps=0.000, evt_raw_kBps=0.000, evt_fields_kBps=0.000, evt_fn_kBps=0.000, evt_fv_kBps=0.000, evt_fn_str_kBps=0.000, evt_fn_meta_dyn_kBps=0.000, evt_fn_meta_predef_kBps=0.000, evt_fn_meta_str_kBps=0.000, evt_fv_num_kBps=0.000, evt_fv_str_kBps=0.000, evt_fv_predef_kBps=0.000, evt_fv_offlen_kBps=0.000, evt_fv_fp_kBps=0.000, build=3.5.3-08986e05, version=3.5.3-08986e05, os=linux, arch=x64, hostname=mlcribl002, guid=f2095906-d733-4453-8b2a-327df0005014, fwdType=full, ssl=false, lastIndexer=None, ack=true&lt;/P&gt;&lt;P&gt;For port 9514, `logger --server localhost --port 9514 "test splunk logger"`date``&lt;/P&gt;&lt;P&gt;For systemd-journald, in splunkd.log, before group permission was fixed, got&lt;BR /&gt;19275:02-27-2023 01:07:10.419 +0000 ERROR ExecProcessor [185621 ExecProcessor] - message from "/opt/splunk/bin/splunkd journald-modinput '$@'" No journal files were opened due to insufficient permissions.&lt;BR /&gt;For dpkg.log, in splunkd.log, after setup&lt;BR /&gt;02-27-2023 01:08:16.737 +0000 INFO TailingProcessor [218543 MainTailingThread] - Adding watch on path: /var/log/dpkg.log.&lt;/P&gt;&lt;P&gt;Indexes exist as shared in indexes.conf and confirmed in Web UI&lt;/P&gt;</description>
    <pubDate>Wed, 01 Mar 2023 00:11:30 GMT</pubDate>
    <dc:creator>juju</dc:creator>
    <dc:date>2023-03-01T00:11:30Z</dc:date>
    <item>
      <title>Why do I have data ingestion issues on newly setup standalone server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/632456#M108337</link>
      <description>&lt;P&gt;I installed Splunk standalone with &lt;A href="https://splunk.github.io/splunk-ansible/" target="_blank" rel="noopener"&gt;https://splunk.github.io/splunk-ansible/&lt;/A&gt;&lt;BR /&gt;Version 9.0.4 on Ubuntu jammy 22.04.2&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Instance is up and seems running fine but after configuring data ingestion, I get nothing available in search&lt;BR /&gt;I tested 4 different inputs and none of them worked.&lt;/P&gt;
&lt;P&gt;I suspect something related to indexing but did not identify where this could be tracked down (log file, splunk table...)&lt;BR /&gt;Any advices?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;* Data receiving on port 9997&lt;BR /&gt;* Data input: TCP for syslog data&lt;BR /&gt;* Local Log file: /var/log/dpkg.log&lt;BR /&gt;* Local systemd-journald&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I can find ingestion activities in /opt/splunk/var/log/splunk/metrics.log but not in `index=_* component=metrics | stats count BY index,component,group,host` (no group=tcpin_connections). It hald systemd-journal permission access issue until I fixed it by adding splunk user to systemd-journal group.&lt;BR /&gt;Network ports are listeing from `ss -tunap` and tested successfully with `nc`&lt;BR /&gt;`curl -vk -u user:pass &lt;A href="https://localhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus" target="_blank" rel="noopener"&gt;https://localhost:8089/services/admin/inputstatus/TailingProcessor:FileStatus&lt;/A&gt; &amp;gt; TailingProcessor-FileStatus.xml` confirms ingestion for local log file only&lt;BR /&gt;`index=_internal source=*metrics.log tcpin_connections` = no results&lt;BR /&gt;`| tstats count WHERE index=* OR index=_* BY host` = have data but only splunk internal index (aka _*) and localhost/splunk server&lt;BR /&gt;`index=_internal component!="Metrics" | stats count BY index,component,group,host` = only _internal/LMStack*/Trial/splunkhost&lt;BR /&gt;Settings &amp;gt; Licensing: "Trial license group": current = No licensing alerts/violations, 0% of quota&lt;BR /&gt;Settings &amp;gt; Monitoring console: returns nothing on indexing (0 KB/s), historic data only shows internal sources spike at install time.&lt;BR /&gt;Splunkd system status is green. Tried to restart a few times but did not help&lt;/P&gt;
&lt;P&gt;I checked the following resources but did not find the issue&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Forwarding/Receiverconnection" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Forwarding/Receiverconnection&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Troubleshooting/Cantfinddata" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Troubleshooting/Cantfinddata&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/What-are-the-basic-troubleshooting-steps-in-case-of-universal/td-p/456364" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/What-are-the-basic-troubleshooting-steps-in-case-of-universal/td-p/456364&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only warning that I have from Web console is on Resource usage IOWait as this is a lab system without production specs. To me, that should only slow down things but not block.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Extract from config&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;# more /opt/splunk/etc/apps/search/local/inputs.conf
[monitor:///var/log/dpkg.log]
disabled = false
host = mlsplunk002
index = dpkg
sourcetype = dpkg

[tcp://9514]
connection_host = dns
host = mlsplunk002
index = syslog
sourcetype = syslog

[journald://journald]
interval = 30
journalctl-exclude-fields = __MONOTONIC_TIMESTAMP,__SOURCE_REALTIME_TIMESTAMP
journalctl-include-fields = PRIORITY,_SYSTEMD_UNIT,_SYSTEMD_CGROUP,_TRANSPORT,_PID,_UID,_MACHINE_ID,_GID,_COMM,_EXE
journalctl-quiet = true

[tcp://6514]
connection_host = dns
host = mlsplunk002
index = syslog
sourcetype = syslog
# more /opt/splunk/etc/apps/search/local/props.conf
[dpkg]
LINE_BREAKER = ([\r\n]+)
NO_BINARY_CHECK = true
category = Custom
description = /var/log/dpkg.log
disabled = false
pulldown_type = true
# more /opt/splunk/etc/apps/search/local/indexes.conf
[dpkg]
coldPath = $SPLUNK_DB/dpkg/colddb
enableDataIntegrityControl = 0
enableTsidxReduction = 0
homePath = $SPLUNK_DB/dpkg/db
maxTotalDataSizeMB = 512000
thawedPath = $SPLUNK_DB/dpkg/thaweddb

[syslog]
coldPath = $SPLUNK_DB/syslog/colddb
enableDataIntegrityControl = 0
enableTsidxReduction = 0
homePath = $SPLUNK_DB/syslog/db
maxTotalDataSizeMB = 512000
thawedPath = $SPLUNK_DB/syslog/thaweddb&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 00:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/632456#M108337</guid>
      <dc:creator>juju</dc:creator>
      <dc:date>2023-03-01T00:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data ingestion issue on newly setup standalone server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/632458#M108338</link>
      <description>&lt;P&gt;You'll only see data from port 9997 if you have forwarder set up to send said data.&amp;nbsp; You didn't mention a forwarder so we'll ignore this source.&lt;/P&gt;&lt;P&gt;You only see data from port 9514 if you have a syslog source configured to send data to Splunk.&amp;nbsp; This also was not mentioned so we'll ignore this source, too.&amp;nbsp; Besides, Splunk discourages sending syslog events directly to a Splunk server.&amp;nbsp; Instead, use a dedicated syslog server (syslog-ng or rsyslog) with a forwarder.&lt;/P&gt;&lt;P&gt;That leaves the two file inputs, which should work.&lt;/P&gt;&lt;P&gt;Do the indexes listed in inputs.conf exist in Splunk?&amp;nbsp; Go to Settings-&amp;gt;Indexes to see and to create them as necessary.&amp;nbsp; If the indexes don't exist then Splunk will drop the events.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 01:13:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/632458#M108338</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-02-28T01:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Data ingestion issue on newly setup standalone server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/632680#M108348</link>
      <description>&lt;P&gt;For all of the given sources, there is data sent, either continuously, either on-demand.&lt;/P&gt;&lt;P&gt;This is validated in metrics.log for port 9997&lt;BR /&gt;55823:03-01-2023 00:02:02.367 +0000 INFO Metrics - group=tcpin_connections, 192.168.x.y:54836:9997, connectionType=cooked, sourcePort=54836, sourceHost=192.168.x.y, sourceIp=192.168.x.y, destPort=9997, kb=0.334, _tcp_Bps=11.032, _tcp_KBps=0.011, _tcp_avg_thruput=0.011, _tcp_Kprocessed=1877.581, _tcp_eps=0.032, _process_time_ms=0, evt_misc_kBps=0.000, evt_raw_kBps=0.000, evt_fields_kBps=0.000, evt_fn_kBps=0.000, evt_fv_kBps=0.000, evt_fn_str_kBps=0.000, evt_fn_meta_dyn_kBps=0.000, evt_fn_meta_predef_kBps=0.000, evt_fn_meta_str_kBps=0.000, evt_fv_num_kBps=0.000, evt_fv_str_kBps=0.000, evt_fv_predef_kBps=0.000, evt_fv_offlen_kBps=0.000, evt_fv_fp_kBps=0.000, build=3.5.3-08986e05, version=3.5.3-08986e05, os=linux, arch=x64, hostname=mlcribl002, guid=f2095906-d733-4453-8b2a-327df0005014, fwdType=full, ssl=false, lastIndexer=None, ack=true&lt;/P&gt;&lt;P&gt;For port 9514, `logger --server localhost --port 9514 "test splunk logger"`date``&lt;/P&gt;&lt;P&gt;For systemd-journald, in splunkd.log, before group permission was fixed, got&lt;BR /&gt;19275:02-27-2023 01:07:10.419 +0000 ERROR ExecProcessor [185621 ExecProcessor] - message from "/opt/splunk/bin/splunkd journald-modinput '$@'" No journal files were opened due to insufficient permissions.&lt;BR /&gt;For dpkg.log, in splunkd.log, after setup&lt;BR /&gt;02-27-2023 01:08:16.737 +0000 INFO TailingProcessor [218543 MainTailingThread] - Adding watch on path: /var/log/dpkg.log.&lt;/P&gt;&lt;P&gt;Indexes exist as shared in indexes.conf and confirmed in Web UI&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 00:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/632680#M108348</guid>
      <dc:creator>juju</dc:creator>
      <dc:date>2023-03-01T00:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I have data ingestion issues on newly setup standalone server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/639995#M109257</link>
      <description>&lt;P&gt;No real cause/solution found for now but problem not reproduced on a similarly build setup but with bigger specs (aws t3.large)&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 19:11:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/639995#M109257</guid>
      <dc:creator>juju</dc:creator>
      <dc:date>2023-04-14T19:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why do I have data ingestion issues on newly setup standalone server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/640263#M109279</link>
      <description>&lt;P&gt;There many things that could be happening including:&lt;BR /&gt;The splunk process does not have permissions to read the files.&lt;BR /&gt;The splunk process does not have permissions to traverse the path to the files.&lt;BR /&gt;You have a stray outputs.conf that is trying to send the data elsewhere instead of indexing locally.&lt;BR /&gt;Your event timestamps are too old or too futuristic and are beeing dropped (i.e. MAX_DAYS_AGO/MAX_DAYS_HENCE).&lt;BR /&gt;Your events are being thrown into the near future and your timpicker is not set to see them.&lt;BR /&gt;&lt;BR /&gt;You should be able to ask splunk itself what the problem is with a search like this:&lt;BR /&gt;index=_* AND ("&lt;SPAN&gt;dpkg" OR "syslog") AND ("ERR*" OR "FAIL*" OR "CANNOT" OR "UNABLE" OR "TIMEOUT")&lt;BR /&gt;| stats count max(_time) AS _time values(log_level) last(_raw) AS raw BY index sourcetype punct&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 17:34:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-do-I-have-data-ingestion-issues-on-newly-setup-standalone/m-p/640263#M109279</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2023-04-17T17:34:28Z</dc:date>
    </item>
  </channel>
</rss>

