Getting Data In

.bash_history

raiqbal47010
New Member

I have multisite environment and I want to monitor all the ssh user commands through .bash_history.
for that purpose I enable the monitor:// stanza in all splunk components. interestingly, I am seeing bash_history logs from some servers and majority of the servers are not showing me logs whereas the same configuraiton is across the border.
please advise.

0 Karma
1 Solution

PavelP
Motivator

Hello @raiqbal47010

have you followed best practices for bash_history ingestion?

Based on this great post https://www.duanewaddle.com/splunking-bash-history/ by @dwaddle

https://github.com/duckfez/splunk-TA-bash_history

https://visibleninja.guru/splunking-bash-history/

View solution in original post

PavelP
Motivator

Hello @raiqbal47010

have you followed best practices for bash_history ingestion?

Based on this great post https://www.duanewaddle.com/splunking-bash-history/ by @dwaddle

https://github.com/duckfez/splunk-TA-bash_history

https://visibleninja.guru/splunking-bash-history/

raiqbal47010
New Member

I am getting below error on splunk instances:
not exporting configurations globally to system.
and seondly no commonds shown up when I press up arrown OR down arrow. even no history when i give history command. ?

0 Karma
Get Updates on the Splunk Community!

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...